diff --git a/main_dc/yalarba/api_yal/internal/router/router.go b/main_dc/yalarba/api_yal/internal/router/router.go index 33f2dc9..696c580 100644 --- a/main_dc/yalarba/api_yal/internal/router/router.go +++ b/main_dc/yalarba/api_yal/internal/router/router.go @@ -18,7 +18,7 @@ func SetupRouter(db *gorm.DB, config *config.Config) http.Handler { r := chi.NewRouter() // Health check - r.Get("/health_yal", func(w http.ResponseWriter, r *http.Request) { + r.Get("/health", func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json") json.NewEncoder(w).Encode(map[string]string{"status": "healthy"}) })