Plots2: 이미지 μ—…λ‘œλ“œ μ‹€νŒ¨

에 λ§Œλ“  2021λ…„ 04μ›” 04일  Β·  35μ½”λ©˜νŠΈ  Β·  좜처: publiclab/plots2

/post 경둜의 λ³Έλ¬Έ μ„Ήμ…˜ "μ„Ήμ…˜ 4"μ—μ„œ 이 였λ₯˜λ‘œ 이미지 μ—…λ‘œλ“œκ°€ μ‹€νŒ¨ν•©λ‹ˆλ‹€.
Screenshot from 2021-04-04 03-28-07 이 인에 https://publiclab.org/ , 그것을 볡제 ν•  수 μžˆμ—ˆλ‹€ https://unstable.publiclab.org 둜컬

μ°Έκ³ : 이미지 μ—…λ‘œλ“œλŠ” /post 의 "μ„Ήμ…˜ 2"μ—μ„œ μ œλŒ€λ‘œ μž‘λ™ν•©λ‹ˆλ‹€.
ν…œν”Œλ¦Ώ: https://github.com/publiclab/plots2/blob/main/app/views/editor/rich.html.erb

bug help wanted high-priority

κ°€μž₯ μœ μš©ν•œ λŒ“κΈ€

μ’‹μ•„, @icarito 와 λ‚˜λŠ” μ‹€ μ—…λ°μ΄νŠΈ 문제λ₯Ό ν•΄κ²°ν•˜μ—¬ μ‹€μ œ 3.0.3 νŽΈμ§‘κΈ° μ½”λ“œλ₯Ό κ°€μ Έ 였고 ν™•μΈν•œ λ‹€μŒ SSLκ³Ό κ΄€λ ¨λœ nginx ꡬ성 문제λ₯Ό ν•˜λ‚˜ 더 μˆ˜μ •ν–ˆκ³  μ§€κΈˆμž…λ‹ˆλ‹€. 라이브 μ‚¬μ΄νŠΈμ—μ„œ μž‘μ—… μ€‘μž…λ‹ˆλ‹€. κ°μ‚¬ν•©λ‹ˆλ‹€!

image

λͺ¨λ“  35 λŒ“κΈ€

λ˜ν•œ μ‚¬μ†Œν•œ λ¬Έμ œμ— λŒ€ν•΄μ„œλŠ” #9442λ₯Ό μ°Έμ‘°ν•˜μ‹­μ‹œμ˜€.

@waridrox 감사

문제λ₯Ό μΆ”κ°€λ‘œ λ””λ²„κ·Έν•˜λ €κ³  ν•˜λ©΄ 둜컬 파일 μ €μž₯μ†Œμ—μ„œ 이미지λ₯Ό μ—…λ‘œλ“œν•  λ•Œ λ°œμƒν•œ 였λ₯˜κ°€
Paperclip::Errors::CommandNotFoundError: Could not run the 'identify' command. Please install ImageMagick.
둜컬 개발 ν™˜κ²½μ—μ„œ. 이것은 파일 μ—…λ‘œλ“œλ₯Ό μ²˜λ¦¬ν•˜λŠ” paperclip gem에 λŒ€ν•œ μƒˆλ‘œμš΄ 쒅속성이라고 μƒκ°ν•©λ‹ˆλ‹€.

Screenshot 2021-04-04 at 8 13 15 PM

sudo apt-get install imagemagick λ˜λŠ” brew install imagemagick λͺ…λ ΉμœΌλ‘œ imagemagick λ₯Ό μ„€μΉ˜ν•œ ν›„ development.rb νŒŒμΌμ— 이 두 μ€„μ˜ μ½”λ“œλ₯Ό μΆ”κ°€ν–ˆμŠ΅λ‹ˆλ‹€.

Paperclip.options[:image_magick_path] = "/opt/ImageMagick/bin"
Paperclip.options[:command_path] = "/opt/ImageMagick/bin"

κ·Έ ν›„ λ‚˜λŠ” λ‹¨μˆœνžˆ μ„œλ²„λ₯Ό λ‹€μ‹œ μ‹œμž‘ν–ˆκ³  jpeg , png 및 gif 와 같은 파일 ν˜•μ‹μœΌλ‘œ 파일 μ—…λ‘œλ“œκ°€ λ‹€μ‹œ μž‘λ™ν–ˆμŠ΅λ‹ˆλ‹€. λ‹€μŒμ€ λ™μΌν•œ λ‚΄μš©μž…λ‹ˆλ‹€.

https://user-images.githubusercontent.com/58583793/113514702-c308e700-958d-11eb-8e12-59c7a9648b24.mp4

stackoverflow의 _이 μŠ€λ ˆλ“œ_ μ—μ„œ ν”„λ‘œλ•μ…˜ μ•±μ˜ λ³€κ²½ 사항을 λ°˜μ˜ν•˜κΈ° μœ„ν•΄ production.rb에도 이 두 쀄을 μΆ”κ°€ν•΄μ•Ό ν•©λ‹ˆλ‹€.

λ˜ν•œ https://github.com/publiclab/plots2/blob/main/doc/PREREQUISITES.md#image -libraries-optional에 image-magick을 μ„€μΉ˜ν•˜λŠ” 선택적 λ§€κ°œλ³€μˆ˜λ‘œ 인해 이 λ™μž‘μ΄ μ²˜μŒμ— κ΄€μ°°λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

@waridrox μ—κ²Œ κ°μ‚¬ν•©λ‹ˆλ‹€. λ³€κ²½ 사항을 κ°€μ Έμ™”λŠ”λ° μ—¬μ „νžˆ 였λ₯˜κ°€ λ°œμƒν•©λ‹ˆλ‹€. λ‹€λ₯Έ μ‚¬λžŒμ΄ μ‹œλ„ν•  수 μžˆμ„κΉŒμš”? 감사

μ•„ πŸ˜‚ 정말 μ£„μ†‘ν•©λ‹ˆλ‹€. 그러면 풀을 되돌렀 μ£Όμ„Έμš”. κ·Έλž˜λ„ λ‘œμ»¬μ—μ„œ μž‘λ™ν•©λ‹ˆκΉŒ? sudo apt-get update λ¨Όμ € μ‹œλ„ν•œ λ‹€μŒ sudo apt-get install imagemagick μ‹œλ„ν•˜λ©΄ 도움이 될 수 μžˆμŠ΅λ‹ˆλ‹€...

μ•ˆλ…• λͺ¨λ‘, λ‘œμ»¬μ—μ„œλŠ” 그것이 imagemagickμ΄μ§€λ§Œ(λ˜λŠ” imagemagick이 μ—†λŠ”) μ–΄λŠ 정도 이해가 λ˜μ§€λ§Œ μ•ˆμ •μ μΈ μƒνƒœμ—μ„œλŠ” μ„€μΉ˜λ˜μ–΄μ•Ό ν•©λ‹ˆλ‹€. μ•ˆμ •μ μΈ 버그인지 κΆκΈˆν•©λ‹ˆλ‹€. Sentry.ioμ—μ„œ ꡐ차 확인해야 ν•©λ‹ˆλ‹€. μ„ΈμŠ€ μ•‘μ„ΈμŠ€ κΆŒν•œμ΄ μžˆμŠ΅λ‹ˆκΉŒ?

μ°Ύμ•„μ£Όμ…”μ„œ λ¬Έμ„œν™”ν•΄μ£Όμ…”μ„œ κ°μ‚¬ν•©λ‹ˆλ‹€!!

ν”„λ‘œν•„ 사진(슀팸 및 곡격으둜 μΈν•œ κ²½μš°κ°€ 많음)을 μ œμ™Έν•˜κ³  이미지 μ—…λ‘œλ“œ μ‹œ μ„ΌνŠΈλ¦¬ 였λ₯˜κ°€ ν‘œμ‹œλ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

Screenshot_20210404-174638
Screenshot_20210404-174706

였λ₯˜μ˜ κ²½λ‘œλŠ” λ¬΄μ—‡μž…λ‹ˆκΉŒ? 500 였λ₯˜μΈκ°€μš”?

μ£„μ†‘ν•©λ‹ˆλ‹€. /졜근/ 였λ₯˜λ₯Ό μ˜λ―Έν•©λ‹ˆλ‹€.

@waridrox λ‘œμ»¬μ—μ„œ μž‘λ™ν•˜μ§€ μ•Šμ•„μ„œ 버전이 잘λͺ»λ˜μ—ˆμ„ 수 μžˆμŠ΅λ‹ˆλ‹€. @jywarren λ‚΄ μͺ½μ—μ„œλŠ” 302 였λ₯˜κ°€ 더

Screenshot from 2021-04-05 00-54-02

μ•„ 302μ—λŸ¬ μ§„μ§œ... πŸ•΅οΈ

μ™œ 그럴 수 μžˆλŠ”μ§€ μ‚΄νŽ΄λ³΄κ² μŠ΅λ‹ˆλ‹€. κ°μ‚¬ν•©λ‹ˆλ‹€!

GitPodμ—μ„œ μ‹€ν–‰ν•˜μ—¬ 302λ₯Ό μž¬ν˜„ν•  수 μžˆλŠ”μ§€ ν™•μΈν•˜λ €κ³  ν•©λ‹ˆλ‹€...

μ’‹μ•„μš”, GitPodμ—μ„œ 둜그λ₯Ό λ°›μ•˜μŠ΅λ‹ˆλ‹€!

Started POST "/images" for 10.4.6.182 at 2021-04-13 18:36:40 +0000
Cannot render console from 10.4.0.249! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by ImagesController#create as JSON
  Parameters: {"nid"=>"null", "image"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x00007f444ce23c30 @tempfile=#<Tempfile:/tmp/RackMultipart20210413-4879-sla487.jpg>, @original_filename="11aa-love-ryan2-720.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"image[photo]\"; filename=\"11aa-love-ryan2-720.jpg\"\r\nContent-Type: image/jpeg\r\n">}}
Can't verify CSRF token authenticity.
Redirected to https://3000-aquamarine-bass-qsunlo8p.ws-us03.gitpod.io/login?return_to=/images
Filter chain halted as :require_user rendered or redirected
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)


Started GET "/login?return_to=/images" for 10.4.6.182 at 2021-04-13 18:36:40 +0000
Cannot render console from 10.4.0.249! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by UserSessionsController#new as JSON
  Parameters: {"return_to"=>"/images"}
  User Load (0.5ms)  SELECT  `rusers`.* FROM `rusers` WHERE `rusers`.`id` = 1 LIMIT 1
   (0.2ms)  BEGIN
  User Update (0.5ms)  UPDATE `rusers` SET `last_request_at` = '2021-04-13 18:36:40', `updated_at` = '2021-04-13 18:36:40' WHERE `rusers`.`id` = 1
   (28.6ms)  COMMIT
Redirected to https://localhost/home?return_to=%2Flogin
Filter chain halted as :require_no_user rendered or redirected
Completed 302 Found in 35ms (ActiveRecord: 29.7ms)

μ•Œκ² μŠ΅λ‹ˆλ‹€. λ‘œκ·ΈμΈν•˜λ„λ‘ λ¦¬λ””λ ‰μ…˜λ˜λŠ” μ΄μœ λŠ” λ¬΄μ—‡μž…λ‹ˆκΉŒ? μ°ΎλŠ” 쀑...

CSRF 토큰이 μž‘λ™ν•˜μ§€ μ•ŠλŠ” 것 κ°™μŠ΅λ‹ˆλ‹€... 보자...

https://github.com/publiclab/plots2/blob/bd7b2e26c1edbd85a9754d8b25bc27950fd99770/app/views/editor/rich.html.erb#L344 -L347

μš°λ¦¬λŠ” 여기에 μ „λ‹¬ν•©λ‹ˆλ‹€.

$('meta[name="csrf-token"]').attr('content') 토큰을 μ˜¬λ°”λ₯΄κ²Œ κ°€μ Έμ˜€λ―€λ‘œ 그게 μ•„λ‹™λ‹ˆλ‹€...

GitPodμ—μ„œλŠ” κΈ°λ³Έ 이미지 μ—…λ‘œλ”κ°€ μž‘λ™ν•©λ‹ˆλ‹€. λ™μΌν•œ 컨트둀러λ₯Ό μ‚¬μš©ν•˜λ―€λ‘œ λ¬Έμ œλŠ” νŽΈμ§‘κΈ°μ˜ μ„œμ‹ μžˆλŠ” ν…μŠ€νŠΈ λͺ¨λ“ˆ μ½”λ“œ μžμ²΄μ— μžˆλŠ” 것 κ°™μŠ΅λ‹ˆλ‹€.


Started POST "/images" for 10.4.0.248 at 2021-04-13 18:47:45 +0000
Cannot render console from 10.4.6.181! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by ImagesController#create as JSON
  Parameters: {"authenticity_token"=>"5Z5plBlzFXbu2qCKPTDZYa54DWaNn556hs9FzyvH2U8NDMabePLVh1RlBuhkRR+Ej+kgI/hLIAm9LcdrEZv4lg==", "uid"=>"1", "image"=>{"photo"=>#<ActionDispatch::Http::UploadedFile:0x000055644bef1898 @tempfile=#<Tempfile:/tmp/RackMultipart20210413-5664-bsht8f.jpg>, @original_filename="11aa-love-ryan2-720.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"image[photo]\"; filename=\"11aa-love-ryan2-720.jpg\"\r\nContent-Type: image/jpeg\r\n">}}

그리고 μ‹€μ œλ‘œ κΈ°λ³Έ 이미지 μ—…λ‘œλ”λŠ” μš”μ²­μ— 토큰을 μ‚¬μš©ν•©λ‹ˆλ‹€.

https://github.com/publiclab/PublicLab.Editor/blob/59e5bf6fd1ac2b6f9108e522baa7cab36e0bb64/src/modules/PublicLab.MainImageModule.js#L94

λ‹€μŒμ„ μ‚¬μš©ν•˜μ—¬ μ˜¬λ°”λ₯΄κ²Œ κ°€μ Έμ˜΅λ‹ˆλ‹€.

editor.options.mainImageModule.token
"5Z5plBlzFXbu2qCKPTDZYa54DWaNn556hs9FzyvH2U8NDMabePLVh1RlBuhkRR+Ej+kgI/hLIAm9LcdrEZv4lg=="

ν™•μΈν–ˆμŠ΅λ‹ˆλ‹€. κΈ°λ³Έ 이미지 μ—…λ‘œλ“œμ—λŠ” 양식 μš”μ²­μ— λ‹€μŒ λ§€κ°œλ³€μˆ˜ μ„ΈνŠΈκ°€ μžˆμŠ΅λ‹ˆλ‹€.

authenticity_token: 5Z5plBlzFXbu2qCKPTDZYa54DWaNn556hs9FzyvH2U8NDMabePLVh1RlBuhkRR+Ej+kgI/hLIAm9LcdrEZv4lg==
uid: 1
image[photo]: (binary)

인라인 이미지 μ—…λ‘œλ“œμ—λŠ” λ‹€μŒ ν•­λͺ©λ§Œ μžˆμŠ΅λ‹ˆλ‹€.

nid: null
image[photo]: (binary)

μ½”λ“œμ˜ ν•΄λ‹Ή μ„Ήμ…˜μ— λŒ€ν•œ 졜근 λ³€κ²½ 사항과 λͺ¨λ“ˆ μ˜΅μ…˜ 자체λ₯Ό ν™•μΈν•˜μ—¬ μƒμ„±μžμ—μ„œ μ μ ˆν•˜κ²Œ μ €μž₯/μ „λ‹¬λ˜λŠ”μ§€ ν™•μΈν•©λ‹ˆλ‹€.

와, λ”₯ 버그. https://github.com/jywarren/woofmark/pull/2 λ₯Ό 톡해 woofmark 라이브러리둜 λ‹€μ‹œ 좔적: https://github.com/bevacqua/woofmark/pull/44

woofmark 의 뢄기에 μžˆμŠ΅λ‹ˆλ‹€.

https://github.com/jywarren/woofmark/blob/plots2/src/prompts/prompt.js#L133

28일 μ „μ˜ 이 PR이 관련이 μžˆμ„ 수 μžˆλ‹€κ³  μƒκ°ν•©λ‹ˆλ‹€. μš°λ¦¬κ°€ μ‚¬μš©ν•˜λŠ” woofmark 뢄기에 λŒ€ν•œ λ§ˆμ§€λ§‰ 변경은 2020λ…„ 9월에 λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€.

https://github.com/jywarren/woofmark/pull/76/files

woofmark 의 μ½”λ“œμ— 아무 것도 ν‘œμ‹œλ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. 이제 2개의 κ²½λ‘œκ°€ μžˆμŠ΅λ‹ˆλ‹€.

  1. Woofmarkλ₯Ό 톡해 upload.xhrOptions λ§€κ°œλ³€μˆ˜λ₯Ό μΆ”μ ν•˜κ³  μ˜¬λ°”λ₯΄κ²Œ κ°€μ Έμ™”λŠ”μ§€ 확인
  2. xhr npm λͺ¨λ“ˆμ΄ λ³€κ²½λ˜μ—ˆλŠ”μ§€ 확인

https://www.npmjs.com/package/xhr 은 5κ°œμ›” 전에 2.6을 κ²Œμ‹œν–ˆμ§€λ§Œ 우리 ν”„λ‘œμ νŠΈμ—μ„œ μˆ˜κ°œμ›” λ™μ•ˆ 2.2.1을 μœ μ§€ν–ˆμŠ΅λ‹ˆλ‹€. package-lock.jsonμ—μ„œ 확인됨

자, upload.xhrOptions param beforeSend λŠ” JS μ½˜μ†”μ—μ„œ ν…ŒμŠ€νŠΈν•œ λŒ€λ‘œ woofmark 둜 λ§Œλ“­λ‹ˆλ‹€.

μ‹€μ œλ‘œ μΆ”κ°€ 헀더λ₯Ό μƒμ„±ν•©λ‹ˆκΉŒ?

xhrOptions: { 
        beforeSend: function(xhr) { xhr.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content')) }
      },

λ§™μ†Œμ‚¬ 이것이 μ–Έμ œ μž‘λ™μ„ λ©ˆμ·„λŠ”μ§€ λͺ¨λ₯΄κ² μ§€λ§Œ 잠재적으둜 λ‹€λ₯Έ formData λ§€κ°œλ³€μˆ˜λ₯Ό μΆ”κ°€ν•˜κ³  κ·Έλ ‡κ²Œ ν•  수 μžˆλ‹€κ³  μƒκ°ν•©λ‹ˆλ‹€??? κ·ΈλŸ¬λ‚˜ λ‹€λ₯Έ μ‚¬λžŒλ“€κ³Ό ν•¨κ»˜ μ „λ‹¬λ˜λŠ”μ§€ λ˜λŠ” xhr libκ°€ 이λ₯Ό λ¬΄μ‹œν• μ§€ 확신이 μ„œμ§€ μ•ŠμŠ΅λ‹ˆκΉŒ?

이에 ν•˜λ‚˜ 2020λ…„ 11μ›” 5일 μΌμ–΄λ‚œ 것이닀 지적 https://github.com/publiclab/PublicLab.Editor/releases/tag/v3.0 28 일 μ „ λ˜λŠ” https://github.com/publiclab/plots2/pull/ 9323

이 쀄에 λ”°λ₯΄λ©΄ formData κ°€ μ •μƒμ μœΌλ‘œ μ „λ‹¬λ˜μ–΄μ•Ό ν•œλ‹€κ³  μƒκ°ν•©λ‹ˆλ‹€.

https://github.com/bevacqua/woofmark/pull/44/files#diff -b70752c6e4fb751c6aa381f57afac66c25cc2d401b141b03e1751d81e60efcd2R216

GitPodμ—μ„œ μ‹œλ„ν•©λ‹ˆλ‹€:

      formData: {nid: null, authenticity_token: _module.options.token},

... ν•΄λƒˆλ‹€:

image

μ—μ„œ ν•΄κ²°λ©λ‹ˆλ‹€ https://github.com/publiclab/PublicLab.Editor/pull/712 , 3.0.3을 μΆœμ‹œν•˜κ³ , λ˜ν•œ λ³„λ„μ˜ μΆ”κ°€ formData 에 토큰을 https://github.com/publiclab/plots2 /λ‹ΉκΈ°κΈ°/9504.

μ•„νœ΄!

μ•ˆμ •μ μœΌλ‘œ μ™„λ£Œ 및 ν™•μΈλ˜μ—ˆμŠ΅λ‹ˆλ‹€!

image

@publiclab-mimiκ°€ 였늘 λ³΄κ³ ν–ˆμŠ΅λ‹ˆλ‹€.

연ꡬ λ…ΈνŠΈ νŽΈμ§‘κΈ°μ—μ„œ JPEG, PDF λ˜λŠ” PNGλ₯Ό μ—…λ‘œλ“œν•  수 μ—†μŠ΅λ‹ˆλ‹€.
Google Chrome 및 Safariμ—μ„œ λ“œλž˜κ·Έ μ•€ λ“œλ‘­ 및 탐색 μ˜΅μ…˜

@ebarry , ν˜„μž¬ λ²„μ „μ—λŠ” λ³€κ²½ 사항을 라이브 λ²„μ „μœΌλ‘œ ν‘Έμ‹œν•˜λŠ” 데 ν•„μš”ν•œ 버퍼 μ‹œκ°„μœΌλ‘œ 인해 μ—¬μ „νžˆ μœ„μ˜ λ³€κ²½ 사항이 μ—†λ‹€κ³  μƒκ°ν•©λ‹ˆλ‹€. 이미지/파일 μ—…λ‘œλ“œκ°€ μ•ˆμ • 버전 κ³Ό λ ˆκ±°μ‹œ λ²„μ „μ—μ„œ μž‘λ™ν•˜κΈ° λ•Œλ¬Έμž…λ‹ˆλ‹€.

Screenshot 2021-04-20 at 2 54 03 AM

μƒˆ μ½”λ“œκ°€ μ–΄μ œ 밀에 κ³΅κ°œλ˜μ—ˆμŠ΅λ‹ˆλ‹€! μ‚΄νŽ΄λ³΄λ‹ˆ 500 였λ₯˜λΌλŠ” μƒˆλ‘œμš΄ 였λ₯˜κ°€ μžˆμŠ΅λ‹ˆλ‹€.

Cessκ°€ 찾은 것과 λ™μΌν•œ 302인 μ΄κ²ƒμœΌλ‘œ μ‹œμž‘ν•©λ‹ˆλ‹€.

image

그런 λ‹€μŒ 이 μƒˆλ‘œμš΄ 500 였λ₯˜λ‘œ λ¦¬λ””λ ‰μ…˜λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

image

μ‹€μ œλ‘œ λ‘œκ·ΈμΈμ— μ„±κ³΅ν–ˆμ„ λ•ŒλΌκ³  μƒκ°ν•˜μ§€λ§Œ 이미 λ‘œκ·ΈμΈν–ˆκΈ° λ•Œλ¬Έμ— μ΄μƒν•©λ‹ˆκΉŒ?

Sentryκ°€ 여기에 κΈ°λ‘ν–ˆλ‹€κ³  μƒκ°ν•˜μ§€λ§Œ 둜그인 μ‹œλ„ 전후에 였λ₯˜κ°€ λ°œμƒν•˜λŠ”μ§€ ν™•μ‹€ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

https://sentry.io/share/issue/13e10e65210c4ceb9860ec687482d9b7/

```
ActionView::ν…œν”Œλ¦Ώ λˆ„λ½
{:locale=>[:en], :formats=>[:json], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :κ°€ μžˆλŠ” ν™ˆ/ν™ˆ ν…œν”Œλ¦Ώ λˆ„λ½: 루비, :컀피, :jbuilder]}. 검색 μœ„μΉ˜:

  • "/μ•±/μ•±/보기"
  • "/usr/local/bundle/gems/grape-swagger-ui-2.2.8/app/views"
  • "/usr/local/bundle/gems/grape-swagger-rails-0.3.1/app/views"
  • ```

ν—ˆ, 이걸 μΆ”μ ν•˜λŠ”λ° λ¬Έμ œκ°€ μžˆμ–΄μ„œ GitPodμ—μ„œ λ‹€μ‹œ μž¬μƒν•΄ 볼까???

μ’‹μ•„, @icarito 와 λ‚˜λŠ” μ‹€ μ—…λ°μ΄νŠΈ 문제λ₯Ό ν•΄κ²°ν•˜μ—¬ μ‹€μ œ 3.0.3 νŽΈμ§‘κΈ° μ½”λ“œλ₯Ό κ°€μ Έ 였고 ν™•μΈν•œ λ‹€μŒ SSLκ³Ό κ΄€λ ¨λœ nginx ꡬ성 문제λ₯Ό ν•˜λ‚˜ 더 μˆ˜μ •ν–ˆκ³  μ§€κΈˆμž…λ‹ˆλ‹€. 라이브 μ‚¬μ΄νŠΈμ—μ„œ μž‘μ—… μ€‘μž…λ‹ˆλ‹€. κ°μ‚¬ν•©λ‹ˆλ‹€!

image

: κ·Έλ•Œ:: κ·Έλ•Œ:: 그러면:

λŒ€λ°•!!! κ°μ‚¬ν•©λ‹ˆλ‹€

이 νŽ˜μ΄μ§€κ°€ 도움이 λ˜μ—ˆλ‚˜μš”?
0 / 5 - 0 λ“±κΈ‰