Merge 0e51cc38cb
into 3a14e00366
This commit is contained in:
commit
78e44f080e
1 changed files with 1 additions and 0 deletions
|
@ -2716,6 +2716,7 @@ int main(int argc, char ** argv) {
|
|||
//
|
||||
|
||||
const auto handle_health = [&](const httplib::Request & req, httplib::Response & res) {
|
||||
res.set_header("Access-Control-Allow-Origin", req.get_header_value("Origin"));
|
||||
server_state current_state = state.load();
|
||||
switch (current_state) {
|
||||
case SERVER_STATE_READY:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue