aboutsummaryrefslogtreecommitdiff
path: root/plugin/multiplex
diff options
context:
space:
mode:
authorpierreozoux <pierre@ozoux.net>2015-06-10 18:23:20 +0100
committerpierreozoux <pierre@ozoux.net>2015-06-10 18:23:20 +0100
commit5dd2dd9f0b2ca13e2e1a44375cc5b7d6606d6b1a (patch)
treee770c0bcf036a1e8e4724678e270f429c8caa24d /plugin/multiplex
parentf0cf1f54d04088d241acf81eef42bd878a9f02ba (diff)
downloadfosdem-2018-presentation-5dd2dd9f0b2ca13e2e1a44375cc5b7d6606d6b1a.tar
fosdem-2018-presentation-5dd2dd9f0b2ca13e2e1a44375cc5b7d6606d6b1a.tar.gz
Allows to specify PORT from env on multiplex plugin
Diffstat (limited to 'plugin/multiplex')
-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 + '/../../'
};