listen on 127.0.0.1 instead of 'localhost'

This commit is contained in:
Albert S. 2018-11-05 22:34:59 +01:00
förälder ebdb71343c
incheckning bcf9d605d2

Visa fil

@ -89,5 +89,5 @@ void HttpGateway::work(RequestWorker &worker)
};
server.Get("/(.*)", handler);
server.Post("/(.*)", handler);
server.listen("localhost", 1234);
server.listen("127.0.0.1", 1234);
}