mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-29 20:49:54 +00:00
http default if no address is 0.0.0.0, not localhost, hard code localhost as per readme
This commit is contained in:
parent
4da6e3ecee
commit
ed61ac624d
@ -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"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user