From 5dd2dd9f0b2ca13e2e1a44375cc5b7d6606d6b1a Mon Sep 17 00:00:00 2001 From: pierreozoux Date: Wed, 10 Jun 2015 18:23:20 +0100 Subject: [PATCH] Allows to specify PORT from env on multiplex plugin --- plugin/multiplex/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/multiplex/index.js b/plugin/multiplex/index.js index 6f5d8b11..af058ed2 100644 --- a/plugin/multiplex/index.js +++ b/plugin/multiplex/index.js @@ -9,7 +9,7 @@ var staticDir = express.static; io = io.listen(app); var opts = { - port: 1948, + port: process.env.PORT || 1948, baseDir : __dirname + '/../../' };