Files
minne/api-router/src/routes/liveness.rs
2025-09-06 11:14:24 +02:00

8 lines
255 B
Rust

use axum::{http::StatusCode, response::IntoResponse, Json};
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"})))
}