modified: internal/routes/routes.go

health rount and /v1
This commit is contained in:
2025-10-08 04:13:24 +05:00
parent dabec4a74b
commit 8b0de935bc
+1 -1
View File
@@ -31,7 +31,7 @@ func SetupRouter(db *gorm.DB) http.Handler {
authHandler := handlers.NewAuthHandler(authService) authHandler := handlers.NewAuthHandler(authService)
// Health routes // Health routes
r.Mount("/", healthHandler.Routes()) r.Mount("/health", healthHandler.Routes())
// API v1 routes // API v1 routes
r.Route("/v1", func(r chi.Router) { r.Route("/v1", func(r chi.Router) {