mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +00:00
Support loading the config file from an envrionment variable (SHOUT_CONFIG)
This commit is contained in:
parent
dd697c4918
commit
277e8fe6d3
1 changed files with 4 additions and 0 deletions
|
@ -195,3 +195,7 @@ module.exports = {
|
|||
certificate: ""
|
||||
}
|
||||
};
|
||||
|
||||
if ("SHOUT_CONFIG" in process.env) {
|
||||
module.exports = require(process.env.SHOUT_CONFIG);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue