1 2 3 4 5 6 7 8 9 10 11 12
//! Liveness and readiness probes. Not auth-gated (see router build). use axum::Json; use axum::response::IntoResponse; pub(super) async fn healthz() -> impl IntoResponse { Json(serde_json::json!({"status": "ok"})) } pub(super) async fn readyz() -> impl IntoResponse { Json(serde_json::json!({"status": "ok"})) }