feat(server/m7-363): branding-aware index handler with html/template
This commit is contained in:
@@ -118,7 +118,7 @@ func (s *Server) Router() http.Handler {
|
||||
subsonic.Mount(r, s.Pool, s.Logger, s.SubsonicCfg, writer)
|
||||
}
|
||||
|
||||
spa := web.Handler()
|
||||
spa := web.Handler(s.BrandingCfg)
|
||||
r.NotFound(func(w http.ResponseWriter, req *http.Request) {
|
||||
p := req.URL.Path
|
||||
if strings.HasPrefix(p, "/api/") || strings.HasPrefix(p, "/rest/") {
|
||||
|
||||
Reference in New Issue
Block a user