From c6ef84cd5a955eb6695e35fe67e0809e610faa0f Mon Sep 17 00:00:00 2001 From: Daniel Mason Date: Wed, 24 Mar 2021 17:24:53 +1300 Subject: [PATCH] Update path --- internal/goscrobble/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/goscrobble/server.go b/internal/goscrobble/server.go index cc7ee201..4e0f4786 100644 --- a/internal/goscrobble/server.go +++ b/internal/goscrobble/server.go @@ -23,7 +23,7 @@ func HandleRequests() { httpRouter.HandleFunc("/api/v1", serveEndpoint) httpRouter.HandleFunc("/api/v1/scrobble/jellyfin", serveEndpoint) - spa := spaHandler{staticPath: "build", indexPath: "index.html"} + spa := spaHandler{staticPath: "web/build", indexPath: "index.html"} httpRouter.PathPrefix("/").Handler(spa) // fileServer := http.FileServer(http.Dir("web"))