From c25bff7203860d7c353b96b535c71c46ee80b139 Mon Sep 17 00:00:00 2001 From: the-m-monk Date: Mon, 29 Dec 2025 22:32:38 +1000 Subject: [PATCH] Fix root to login redirect --- internal/httpserver/webui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/httpserver/webui.go b/internal/httpserver/webui.go index 735ff06..35afc40 100644 --- a/internal/httpserver/webui.go +++ b/internal/httpserver/webui.go @@ -8,7 +8,7 @@ import ( func RegisterWebui() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { if r.URL.Path == "/" { - http.Redirect(w, r, "/web/", http.StatusPermanentRedirect) + http.Redirect(w, r, "/web/login", http.StatusPermanentRedirect) return } http.NotFound(w, r)