Only listen on localhost

This commit is contained in:
Alex Janka 2017-06-02 22:24:22 +10:00
parent aa247e9398
commit 8b9691faca

View file

@ -28,7 +28,7 @@ app.get('/', function (req, res) {
}); //replace with req.ip
});
app.listen(3000);
app.listen(3000, 'localhost');
function getIpInfo(ip: String): Promise.IThenable<{}> {
return new Promise(function (resolve, reject) {