summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-07 09:18:18 +0300
committerPaul Buetow <paul@buetow.org>2026-05-07 09:18:18 +0300
commitc2e0a0b772582a81513d1c97ebba121dac555984 (patch)
tree78c989c3cbff4540526c17d4364f222c4a7a5c6a
parent8b09cf8a75fff158cc5dea5b703fe10df1fdb89c (diff)
Fix PWA static routes for browser smoke test g1
-rw-r--r--internal/api/server.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/api/server.go b/internal/api/server.go
index 32e1074..e545e94 100644
--- a/internal/api/server.go
+++ b/internal/api/server.go
@@ -147,6 +147,8 @@ func (s *Server) routesStatic() {
s.mux.Handle("/logo.svg", staticHandler)
s.mux.Handle("/favicon.ico", staticHandler)
s.mux.Handle("/favicon.svg", staticHandler)
+ s.mux.Handle("/manifest.json", staticHandler)
+ s.mux.Handle("/sw.js", staticHandler)
}
// routesHTML wires the SPA HTML page routes.