zero-to-production/src/routes/health_check.rs

6 lines
110 B
Rust

use actix_web::HttpResponse;
pub async fn health_check() -> HttpResponse {
HttpResponse::Ok().finish()
}