From bb91e01c894bc4476aa6ab79feb8bd238555de6e Mon Sep 17 00:00:00 2001 From: jbergner Date: Mon, 24 Aug 2026 21:32:07 +0200 Subject: [PATCH] Bugfix --- internal/master/master.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/master/master.go b/internal/master/master.go index 1537365..c079ffc 100644 --- a/internal/master/master.go +++ b/internal/master/master.go @@ -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)))