mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 21:20:24 +01:00
Update meilisearch-http/src/routes/mod.rs
Co-authored-by: marin <postma.marin@protonmail.com>
This commit is contained in:
parent
0c27bea135
commit
81255814b1
@ -45,8 +45,7 @@ pub async fn load_html() -> HttpResponse {
|
||||
/// ```
|
||||
#[get("/")]
|
||||
pub async fn running() -> HttpResponse {
|
||||
let payload = serde_json::json!({ "status": "MeiliSearch is running" }).to_string();
|
||||
HttpResponse::Ok().body(payload)
|
||||
HttpResponse::Ok().json(serde_json::json!({ "status": "MeiliSearch is running" }))
|
||||
}
|
||||
|
||||
#[get("/bulma.min.css")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user