From d5e11e992a80be1d2074a318b87516c6d2d10184 Mon Sep 17 00:00:00 2001 From: valitovgaziz Date: Wed, 8 Oct 2025 04:15:50 +0500 Subject: [PATCH] modified: internal/routes/routes.go health rounter from "/" and v1 anather --- serv_nginx/api_bb/internal/routes/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serv_nginx/api_bb/internal/routes/routes.go b/serv_nginx/api_bb/internal/routes/routes.go index bd2b7f6..c98dc34 100644 --- a/serv_nginx/api_bb/internal/routes/routes.go +++ b/serv_nginx/api_bb/internal/routes/routes.go @@ -31,7 +31,7 @@ func SetupRouter(db *gorm.DB) http.Handler { authHandler := handlers.NewAuthHandler(authService) // Health routes - r.Mount("/health", healthHandler.Routes()) + r.Mount("/", healthHandler.Routes()) // API v1 routes r.Route("/v1", func(r chi.Router) {