mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 17:44:52 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue