mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-17 12:01:15 +02:00
Merge pull request #1260 from pierreozoux/master
Allows to specify PORT from env on multiplex plugin
This commit is contained in:
@@ -9,7 +9,7 @@ var staticDir = express.static;
|
|||||||
io = io.listen(app);
|
io = io.listen(app);
|
||||||
|
|
||||||
var opts = {
|
var opts = {
|
||||||
port: 1948,
|
port: process.env.PORT || 1948,
|
||||||
baseDir : __dirname + '/../../'
|
baseDir : __dirname + '/../../'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user