chore: update health check link

This commit is contained in:
2024-12-09 15:38:05 +01:00
parent 80f0e5e596
commit 7116528ad7

View File

@@ -83,11 +83,12 @@ func (gatewayServer GatewayServer) Initialize() *mux.Router {
}
// Routes health check
if !gateway.DisableHealthCheckStatus {
r.HandleFunc("/health/routes", heath.HealthCheckHandler).Methods("GET")
r.HandleFunc("/health/routes", heath.HealthCheckHandler).Methods("GET") // Deprecated
r.HandleFunc("/healthz/routes", heath.HealthCheckHandler).Methods("GET")
}
// Health check
r.HandleFunc("/health/live", heath.HealthReadyHandler).Methods("GET")
r.HandleFunc("/health/live", heath.HealthReadyHandler).Methods("GET") // Deprecated
r.HandleFunc("/readyz", heath.HealthReadyHandler).Methods("GET")
r.HandleFunc("/healthz", heath.HealthReadyHandler).Methods("GET")
// Enable common exploits