Files
mikebase/src/routes/health.rs
T

9 lines
226 B
Rust

use axum::response::{IntoResponse, Json};
use serde_json::json;
/// GET /health
/// Returns a simple health-check response for liveness probes.
pub async fn health() -> impl IntoResponse {
Json(json!({"status": "ok"}))
}