mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-21 16:31:23 +02:00
8 lines
255 B
Rust
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"})))
|
|
}
|