fixed a typo
This commit is contained in:
parent
675e67fe89
commit
d59c119f0e
1 changed files with 1 additions and 1 deletions
|
@ -2956,7 +2956,7 @@ int main(int argc, char **argv)
|
||||||
res.set_content(R"({"status": "ok"})", "application/json");
|
res.set_content(R"({"status": "ok"})", "application/json");
|
||||||
res.status = 200; // HTTP OK
|
res.status = 200; // HTTP OK
|
||||||
break;
|
break;
|
||||||
case LOADING:
|
case LOADING_MODEL:
|
||||||
res.set_content(R"({"status": "loading model"})", "application/json");
|
res.set_content(R"({"status": "loading model"})", "application/json");
|
||||||
res.status = 503; // HTTP Service Unavailable
|
res.status = 503; // HTTP Service Unavailable
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue