mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 20:15:07 +08: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("/")]
|
#[get("/")]
|
||||||
pub async fn running() -> HttpResponse {
|
pub async fn running() -> HttpResponse {
|
||||||
let payload = serde_json::json!({ "status": "MeiliSearch is running" }).to_string();
|
HttpResponse::Ok().json(serde_json::json!({ "status": "MeiliSearch is running" }))
|
||||||
HttpResponse::Ok().body(payload)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[get("/bulma.min.css")]
|
#[get("/bulma.min.css")]
|
||||||
|
Loading…
Reference in New Issue
Block a user