feat(webui): implement states list

This commit is contained in:
Julien Dessaux 2025-01-22 00:46:49 +01:00
parent 7885b19b54
commit 09885ef1e4
Signed by: adyxax
GPG key ID: F92E51B86E07177E
10 changed files with 117 additions and 12 deletions

View file

@ -24,7 +24,7 @@ func handleLoginGET() http.Handler {
session := r.Context().Value(model.SessionContextKey{})
if session != nil {
http.Redirect(w, r, "/", http.StatusFound)
http.Redirect(w, r, "/states", http.StatusFound)
return
}