Skip to content

Commit

Permalink
Merge pull request #93 from lazamar/patch-1
Browse files Browse the repository at this point in the history
Fix CORS error.
  • Loading branch information
evancz committed Sep 28, 2016
2 parents c99db77 + 30ce490 commit 17b0a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/5-http.elm
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ getRandomGif : String -> Cmd Msg
getRandomGif topic =
let
url =
"//api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC&tag=" ++ topic
"https://api.giphy.com/v1/gifs/random?api_key=dc6zaTOxFJmzC&tag=" ++ topic
in
Task.perform FetchFail FetchSucceed (Http.get decodeGifUrl url)

Expand Down

0 comments on commit 17b0a8b

Please sign in to comment.