mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 00:21:55 +00:00
Update path
This commit is contained in:
parent
3b0b479c4b
commit
c6ef84cd5a
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user