mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-21 12:16:26 +00:00
Use 200 status code for healthcheck endpoint
This commit is contained in:
@ -9,5 +9,5 @@ pub fn services(cfg: &mut web::ServiceConfig) {
|
||||
|
||||
#[get("/health")]
|
||||
async fn get_health() -> Result<HttpResponse, ResponseError> {
|
||||
Ok(HttpResponse::NoContent().finish())
|
||||
Ok(HttpResponse::Ok().finish())
|
||||
}
|
||||
|
Reference in New Issue
Block a user