diff --git a/serv_nginx/api_bb/internal/routes/routes.go b/serv_nginx/api_bb/internal/routes/routes.go index f1c6a75..b1d586a 100644 --- a/serv_nginx/api_bb/internal/routes/routes.go +++ b/serv_nginx/api_bb/internal/routes/routes.go @@ -35,7 +35,7 @@ func SetupRouter(db *gorm.DB, config *config.Config) http.Handler { userHandler := handlers.NewUserHandler(authService) // Health routes - r.Mount("/", healthHandler.Routes()) + healthHandler.Routes() // API v1 routes r.Route("/v1", func(r chi.Router) {