modified: internal/routes/routes.go
health rount and /v1
This commit is contained in:
@@ -31,7 +31,7 @@ func SetupRouter(db *gorm.DB) http.Handler {
|
||||
authHandler := handlers.NewAuthHandler(authService)
|
||||
|
||||
// Health routes
|
||||
r.Mount("/", healthHandler.Routes())
|
||||
r.Mount("/health", healthHandler.Routes())
|
||||
|
||||
// API v1 routes
|
||||
r.Route("/v1", func(r chi.Router) {
|
||||
|
||||
Reference in New Issue
Block a user