add health route
This commit is contained in:
9
src/routes/health.rs
Normal file
9
src/routes/health.rs
Normal file
@ -0,0 +1,9 @@
|
||||
use axum::{response::IntoResponse, Json};
|
||||
use serde_json::json;
|
||||
|
||||
pub async fn health_route() -> impl IntoResponse {
|
||||
Json(json!({
|
||||
"ready": true,
|
||||
"reason": "Everything is OK"
|
||||
}))
|
||||
}
|
@ -1 +1,2 @@
|
||||
pub mod health;
|
||||
pub mod liquid;
|
||||
|
Reference in New Issue
Block a user