katbin/src/api/routes/health.rs

11 lines
169 B
Rust
Raw Normal View History

use rocket::Rocket;
#[get("/check")]
fn check() -> &'static str {
"OK"
}
pub fn fuel(rocket: Rocket) -> Rocket {
rocket.mount("/api/health", routes![check])
}