Skip to content

Commit

Permalink
Relative uri
Browse files Browse the repository at this point in the history
  • Loading branch information
nacmartin committed Oct 22, 2016
1 parent 0c7aa0e commit 4e23566
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lessons/lesson10.elm
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ init =
fetchWorld : Cmd Action
fetchWorld =
let
url =
"/meshes/world10.txt"
uri =
"meshes/world10.txt"
in
Task.perform FetchFail FetchSucceed (Http.getString url `Task.andThen` decodeWorld)
Task.perform FetchFail FetchSucceed (Http.getString uri `Task.andThen` decodeWorld)

match : List String -> List (List Regex.Match)
match lines =
Expand Down

0 comments on commit 4e23566

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy