initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I4a6b498153eccd5407510dd541b7f4816a6a6964
This commit is contained in:
commit
6a73d11c4b
124 changed files with 26877 additions and 0 deletions
8
crates/pinakes-server/src/routes/health.rs
Normal file
8
crates/pinakes-server/src/routes/health.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use axum::Json;
|
||||
|
||||
pub async fn health() -> Json<serde_json::Value> {
|
||||
Json(serde_json::json!({
|
||||
"status": "ok",
|
||||
"version": env!("CARGO_PKG_VERSION"),
|
||||
}))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue