From 8b0de935bc66a6a5c25d261e49f20ca838d09cab Mon Sep 17 00:00:00 2001 From: valitovgaziz Date: Wed, 8 Oct 2025 04:13:24 +0500 Subject: [PATCH] modified: internal/routes/routes.go health rount and /v1 --- 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 c98dc34..bd2b7f6 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("/", healthHandler.Routes()) + r.Mount("/health", healthHandler.Routes()) // API v1 routes r.Route("/v1", func(r chi.Router) {