Fix logout route to accept POST

This commit is contained in:
Jeffrey Paul 2025-12-29 16:46:30 +07:00
parent ee823b6a84
commit 4d03350943

View File

@ -52,7 +52,7 @@ func (s *Server) SetupRoutes() {
r.Get("/", s.handlers.HandleDashboard())
// Logout
r.Get("/logout", s.handlers.HandleLogout())
r.Post("/logout", s.handlers.HandleLogout())
// App routes
r.Get("/apps/new", s.handlers.HandleAppNew())