10 lines
203 B
Rust
10 lines
203 B
Rust
use axum::{response::IntoResponse, Json};
|
|
use serde_json::json;
|
|
|
|
pub async fn health_route() -> impl IntoResponse {
|
|
Json(json!({
|
|
"ready": true,
|
|
"reason": "Everything is OK"
|
|
}))
|
|
}
|