Files
minne/api-router/src/routes/liveness.rs
T
2026-06-26 12:31:03 +02:00

8 lines
255 B
Rust

use axum::{Json, http::StatusCode, response::IntoResponse};
use serde_json::json;
/// Liveness probe: always returns 200 to indicate the process is running.
pub async fn live() -> impl IntoResponse {
(StatusCode::OK, Json(json!({"status": "ok"})))
}