Index at root
This commit is contained in:
parent
b6cdf308cb
commit
5b464f957a
|
@ -55,7 +55,7 @@ decodePlaylists =
|
||||||
fetchPlaylists : (Result Http.Error (List Playlist) -> msg) -> Cmd msg
|
fetchPlaylists : (Result Http.Error (List Playlist) -> msg) -> Cmd msg
|
||||||
fetchPlaylists resultToMsg =
|
fetchPlaylists resultToMsg =
|
||||||
Http.get
|
Http.get
|
||||||
{ url = "/index.json"
|
{ url = "index.json"
|
||||||
, expect = Http.expectJson resultToMsg decodePlaylists
|
, expect = Http.expectJson resultToMsg decodePlaylists
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue