Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from sorah/master

res.response.to_ary[1] will be removed
  • Loading branch information...
commit dbfe75c1e3917945b2d63518f6979b60c83b18d2 2 parents 4ed6b99 + fccf92b
@rakusai rakusai authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Gyazo.app/Contents/Resources/script
View
2  Gyazo.app/Contents/Resources/script
@@ -62,7 +62,7 @@ header ={
Net::HTTP.start(HOST,80){|http|
res = http.post(CGI,data,header)
- url = res.response.to_ary[1]
+ url = res.response.body
system "echo -n #{url} | pbcopy"
system "open #{url}"
Please sign in to comment.
Something went wrong with that request. Please try again.