From ed61ac624d6c7afca7be8b1170ec92648e2347b8 Mon Sep 17 00:00:00 2001 From: Sam Detweiler Date: Tue, 10 Dec 2019 12:15:30 -0600 Subject: [PATCH] http default if no address is 0.0.0.0, not localhost, hard code localhost as per readme --- js/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/server.js b/js/server.js index 2e6e530a..b9c9b0d8 100644 --- a/js/server.js +++ b/js/server.js @@ -24,7 +24,7 @@ var Server = function(config, callback) { console.log("Starting server on port " + port + " ... "); - server.listen(port, config.address ? config.address : null); + server.listen(port, config.address ? config.address : "localhost"); if (config.ipWhitelist instanceof Array && config.ipWhitelist.length === 0) { console.info(Utils.colors.warn("You're using a full whitelist configuration to allow for all IPs"));