modified: serv_nginx/api_bb/internal/routes/routes.go

fix heach check
This commit is contained in:
2025-10-11 09:52:51 +05:00
parent d20b5876cb
commit 68a88ad30c
+1 -1
View File
@@ -35,7 +35,7 @@ func SetupRouter(db *gorm.DB, config *config.Config) http.Handler {
userHandler := handlers.NewUserHandler(authService) userHandler := handlers.NewUserHandler(authService)
// Health routes // Health routes
r.Mount("/", healthHandler.Routes()) healthHandler.Routes()
// API v1 routes // API v1 routes
r.Route("/v1", func(r chi.Router) { r.Route("/v1", func(r chi.Router) {