diff --git a/src/Twitch.elm b/src/Twitch.elm index d8fa494..1f86edd 100644 --- a/src/Twitch.elm +++ b/src/Twitch.elm @@ -55,7 +55,7 @@ decodePlaylists = fetchPlaylists : (Result Http.Error (List Playlist) -> msg) -> Cmd msg fetchPlaylists resultToMsg = Http.get - { url = "/index.json" + { url = "index.json" , expect = Http.expectJson resultToMsg decodePlaylists }