summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-10-05 17:55:29 +0200
committerAleš Smodiš <aless@guru.si>2015-10-05 17:55:29 +0200
commit3f54d449c4ebad07ddf4e8018c5ee0f0a4b00cd5 (patch)
treed319e87c0872da7db1b721919d23a667d9d67e6a /web
parent63a852da581bd58975f021ef1adda07312183881 (diff)
Bind the node server to the localhost interface.
Diffstat (limited to 'web')
-rw-r--r--web/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/main.js b/web/main.js
index 2446010..1a160e6 100644
--- a/web/main.js
+++ b/web/main.js
@@ -21,7 +21,7 @@ process.on('uncaughtException', function (error) {
logException('Uncaught exception: ' + error, error);
});
-http_server.listen(8083);
+http_server.listen(8083, 'localhost');
var server = new engine.Server({
'pingTimeout': 60000, // in ms