diff --git a/src/core/ui/handler.go b/src/core/ui/handler.go index b765bc4..579ffc5 100644 --- a/src/core/ui/handler.go +++ b/src/core/ui/handler.go @@ -22,7 +22,7 @@ func (h *Handler) RegisterRoutes(mux *http.ServeMux, authGate func(http.Handler) // Static assets (manifest.json, sw.js, icons) staticDir := filepath.Join(h.appDir, "static") staticHandler := http.FileServer(http.Dir(staticDir)) - mux.Handle("GET /static/", staticHandler) + mux.Handle("GET /static/", http.StripPrefix("/static", staticHandler)) // Launcher page — protected by OIDC auth gate mux.Handle("GET /", authGate(http.HandlerFunc(h.launcherPage)))