Bugfix
All checks were successful
release-tag / release-image (push) Successful in 2m3s
release-main / release-images (push) Successful in 4m18s

This commit is contained in:
2026-08-24 21:32:07 +02:00
parent aceb0509ab
commit bb91e01c89

View File

@@ -70,7 +70,7 @@ func (a *App) Run(ctx context.Context) error {
w.Header().Set("Cache-Control", "no-store, max-age=0")
_, _ = fmt.Fprint(w, masterJS)
})
mux.Handle("GET /", a.auth.Require(http.HandlerFunc(a.masterPage)))
mux.Handle("GET /{$}", a.auth.Require(http.HandlerFunc(a.masterPage)))
mux.Handle("GET /api/v1/me", a.auth.Require(http.HandlerFunc(a.me)))
mux.Handle("GET /api/v1/dashboard", a.auth.Require(http.HandlerFunc(a.dashboard)))
mux.Handle("GET /api/v1/agents/{id}", a.auth.Require(http.HandlerFunc(a.agentDetail)))