Bring back process.env variables

This commit is contained in:
Mattias Erming 2014-10-14 20:47:49 +02:00
parent 62b15ab193
commit 4dc9c66859

View file

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