mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-21 11:11:23 +00:00
Added configurable port
This commit is contained in:
parent
b91e812fcd
commit
c22e1df4e1
1 changed files with 4 additions and 0 deletions
|
@ -7,4 +7,8 @@ var path = require("path");
|
|||
|
||||
var baseConfig = require(path.join(__dirname, path.join("environments/" + env)));
|
||||
|
||||
if (process.env.PORT) {
|
||||
baseConfig.port = parseInt(process.env.PORT, 10);
|
||||
}
|
||||
|
||||
module.exports = baseConfig;
|
Loading…
Reference in a new issue