mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-17 18:46:55 +03:00
/static now rendered out
This commit is contained in:
parent
09412ac131
commit
169b3242df
@ -92,7 +92,7 @@ func New(ds model.DataStore, broker events.Broker) *DLNAServer {
|
|||||||
r := http.NewServeMux()
|
r := http.NewServeMux()
|
||||||
r.Handle(resPath, http.StripPrefix(resPath, http.HandlerFunc(s.ssdp.resourceHandler)))
|
r.Handle(resPath, http.StripPrefix(resPath, http.HandlerFunc(s.ssdp.resourceHandler)))
|
||||||
|
|
||||||
r.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.FS(staticContent))))
|
r.Handle("/static/", http.FileServer(http.FS(staticContent)))
|
||||||
r.HandleFunc(rootDescPath, s.ssdp.rootDescHandler)
|
r.HandleFunc(rootDescPath, s.ssdp.rootDescHandler)
|
||||||
r.HandleFunc(serviceControlURL, s.ssdp.serviceControlHandler)
|
r.HandleFunc(serviceControlURL, s.ssdp.serviceControlHandler)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user