From f00af9ee2605cef99168cab237d4d7fead76f532 Mon Sep 17 00:00:00 2001 From: TeejMcSteez Date: Fri, 31 Oct 2025 03:03:39 -0400 Subject: [PATCH] Changed root route to use BlankHandler instead of 404 handler --- hscontrol/app.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hscontrol/app.go b/hscontrol/app.go index 8bf923fc..4ce98719 100644 --- a/hscontrol/app.go +++ b/hscontrol/app.go @@ -477,6 +477,7 @@ func (h *Headscale) createRouter(grpcMux *grpcRuntime.ServeMux) *mux.Router { apiRouter.Use(h.httpAuthenticationMiddleware) apiRouter.PathPrefix("/v1/").HandlerFunc(grpcMux.ServeHTTP) router.HandleFunc("/favicon.ico", FaviconHandler) + router.PathPrefix("/").HandlerFunc(BlankHandler) return router }