9 lines
226 B
Rust
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"}))
|
|
}
|