From 4dc9c66859c1618941babc72a994a16ced66b44e Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Tue, 14 Oct 2014 20:47:49 +0200 Subject: [PATCH] Bring back process.env variables --- src/command-line/start.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command-line/start.js b/src/command-line/start.js index 6a926cc7..7637712d 100644 --- a/src/command-line/start.js +++ b/src/command-line/start.js @@ -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 });