mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-01 13:42:20 +00:00
Update path
This commit is contained in:
parent
3b0b479c4b
commit
c6ef84cd5a
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ func HandleRequests() {
|
||||||
httpRouter.HandleFunc("/api/v1", serveEndpoint)
|
httpRouter.HandleFunc("/api/v1", serveEndpoint)
|
||||||
httpRouter.HandleFunc("/api/v1/scrobble/jellyfin", 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)
|
httpRouter.PathPrefix("/").Handler(spa)
|
||||||
|
|
||||||
// fileServer := http.FileServer(http.Dir("web"))
|
// fileServer := http.FileServer(http.Dir("web"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue