Merge pull request #1260 from pierreozoux/master

Allows to specify PORT from env on multiplex plugin
This commit is contained in:
Hakim El Hattab 2015-06-25 09:53:51 +02:00
commit 7225d84248

View File

@ -9,7 +9,7 @@ var staticDir = express.static;
io = io.listen(app);
var opts = {
port: 1948,
port: process.env.PORT || 1948,
baseDir : __dirname + '/../../'
};