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