We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ca179c commit 161bf22Copy full SHA for 161bf22
examples/server/server.cpp
@@ -2595,6 +2595,7 @@ int main(int argc, char ** argv) {
2595
server_state current_state = state.load();
2596
if (current_state == SERVER_STATE_LOADING_MODEL) {
2597
res.set_content("<html><body>The model is loading. Please wait.<br/>The user interface will appear soon.</body></html>", "text/html; charset=utf-8");
2598
+ res.status = 503;
2599
return false;
2600
}
2601
return true;
0 commit comments