This commit is contained in:
PB
2025-10-20 17:11:36 +02:00
parent ddbb8bea25
commit f978db83ee
9 changed files with 30 additions and 103 deletions

View File

@@ -19,7 +19,7 @@ func SetupRouter(s *Server) {
s.Get("/health", s.HealthHandler)
api := s.Group("/api")
v1 := api.Group("/v1")
v1.Post("/login", s.LoginHandler)
s.Group("/v1").
Post("/login", s.LoginHandlerFn).
Post("/register", s.RegisterHandlerFn)
}