diff --git a/src/command-line/start.js b/src/command-line/start.js index 6a926cc..7637712 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 });