From 5b464f957a5c7d08b6afcfcc9ca21e54a6e616e6 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Mon, 5 Oct 2020 11:54:35 +0200 Subject: [PATCH] Index at root --- src/Twitch.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }