mirror of
https://github.com/Simplxss/SignerServer.git
synced 2024-11-21 00:37:53 +08:00
listen to 0.0.0.0
This commit is contained in:
parent
8ff2eca04a
commit
90a55d47b3
@ -94,7 +94,7 @@ void Server::Init(int port) {
|
||||
res.set_content(buffer.GetString(), "application/json");
|
||||
});
|
||||
|
||||
bool ret = svr.listen("127.0.0.1", port); // crach here
|
||||
bool ret = svr.listen("0.0.0.0", port); // crach here
|
||||
}
|
||||
catch(std::exception &e) {
|
||||
printf("Server init failed: %s\n", e.what());
|
||||
|
Loading…
x
Reference in New Issue
Block a user