aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-06-25 09:53:51 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-06-25 09:53:51 +0200
commit7225d84248466b713c3a00c5e6cca40cf868bfe6 (patch)
tree6b2a92b1b3e73f684109e7dc28210d22f0891165
parent5020014bc2de853e65468756ee5fb6863c127fd5 (diff)
parent5dd2dd9f0b2ca13e2e1a44375cc5b7d6606d6b1a (diff)
downloadfosdem-2018-presentation-7225d84248466b713c3a00c5e6cca40cf868bfe6.tar
fosdem-2018-presentation-7225d84248466b713c3a00c5e6cca40cf868bfe6.tar.gz
Merge pull request #1260 from pierreozoux/master
Allows to specify PORT from env on multiplex plugin
-rw-r--r--plugin/multiplex/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/multiplex/index.js b/plugin/multiplex/index.js
index 6f5d8b1..af058ed 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 + '/../../'
};