mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Use 200 status code for healthcheck endpoint
This commit is contained in:
parent
5ca3382f5c
commit
a2ac2de011
2 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue