Merge pull request #432 from maxpoulin64/fix-bind
Fix default configuration for `host`.
This commit is contained in:
commit
9aaae7fd94
@ -12,12 +12,12 @@ module.exports = {
|
|||||||
|
|
||||||
//
|
//
|
||||||
// IP address or hostname for the web server to listen on.
|
// IP address or hostname for the web server to listen on.
|
||||||
// Setting this to "0.0.0.0" will listen on all interfaces.
|
// Setting this to undefined will listen on all interfaces.
|
||||||
//
|
//
|
||||||
// @type string
|
// @type string
|
||||||
// @default "0.0.0.0"
|
// @default undefined
|
||||||
//
|
//
|
||||||
host: "0.0.0.0",
|
host: undefined,
|
||||||
|
|
||||||
//
|
//
|
||||||
// Set the port to listen on.
|
// Set the port to listen on.
|
||||||
|
@ -62,7 +62,7 @@ module.exports = function(options) {
|
|||||||
|
|
||||||
manager.sockets = sockets;
|
manager.sockets = sockets;
|
||||||
|
|
||||||
log.info("The Lounge v" + pkg.version + " is now running on", protocol + "://" + config.host + ":" + config.port + "/");
|
log.info("The Lounge v" + pkg.version + " is now running on", protocol + "://" + (config.host || "*") + ":" + config.port + "/");
|
||||||
log.info("Press ctrl-c to stop\n");
|
log.info("Press ctrl-c to stop\n");
|
||||||
|
|
||||||
if (!config.public) {
|
if (!config.public) {
|
||||||
|
Loading…
Reference in New Issue
Block a user