Don't redirect by default to dashboard

This commit is contained in:
Darren Shepherd 2020-06-12 14:17:57 -07:00
parent cd51868e48
commit 4c61f95a6a

View File

@ -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)
})