http: GET /setup landing page with expiry handling

This commit is contained in:
2026-05-05 09:27:53 +01:00
parent cbdd94ca12
commit 8d4c4426b0
5 changed files with 214 additions and 1 deletions
+2
View File
@@ -137,6 +137,8 @@ func (s *Server) routes(r chi.Router) {
r.Get("/login", s.handleUILoginGet)
r.Post("/login", s.handleUILoginPost)
r.Post("/logout", s.handleUILogoutPost)
r.Get("/setup", s.handleUISetupGet)
r.Post("/setup", s.handleUISetupPost)
}
// Viewer band — anyone authenticated can read.