Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I4a6b498153eccd5407510dd541b7f4816a6a6964
8 lines
177 B
Rust
8 lines
177 B
Rust
use axum::Json;
|
|
|
|
pub async fn health() -> Json<serde_json::Value> {
|
|
Json(serde_json::json!({
|
|
"status": "ok",
|
|
"version": env!("CARGO_PKG_VERSION"),
|
|
}))
|
|
}
|