aboutsummaryrefslogtreecommitdiff
path: root/plugin
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
parentf0cf1f54d04088d241acf81eef42bd878a9f02ba (diff)
downloadperl-software-in-gnu-guix-5dd2dd9f0b2ca13e2e1a44375cc5b7d6606d6b1a.tar
perl-software-in-gnu-guix-5dd2dd9f0b2ca13e2e1a44375cc5b7d6606d6b1a.tar.gz
Allows to specify PORT from env on multiplex plugin
Diffstat (limited to '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 + '/../../'
};