Bring back process.env variables

This commit is contained in:
Mattias Erming 2014-10-14 20:47:49 +02:00
parent 62b15ab193
commit 4dc9c66859
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ program
console.log(""); console.log("");
} else { } else {
shout({ shout({
host: program.host || config.host, host: program.host || process.env.IP || config.host,
port: program.port || config.port, port: program.port || process.env.PORT || config.port,
bind: program.bind || config.bind, bind: program.bind || config.bind,
public: mode public: mode
}); });