diff --git a/pkg/dashboard/ui.go b/pkg/dashboard/ui.go index 51d4c21..e305639 100644 --- a/pkg/dashboard/ui.go +++ b/pkg/dashboard/ui.go @@ -34,9 +34,6 @@ func Route(next http.Handler, uiSetting func() string) http.Handler { root := mux.NewRouter() root.UseEncodedPath() - root.Path("/").HandlerFunc(func(rw http.ResponseWriter, req *http.Request) { - http.Redirect(rw, req, "/dashboard/", http.StatusFound) - }) root.Path("/dashboard").HandlerFunc(func(rw http.ResponseWriter, req *http.Request) { http.Redirect(rw, req, "/dashboard/", http.StatusFound) })