radar host overrides
This commit is contained in:
parent
0be23ee988
commit
1609ab3d38
6 changed files with 25 additions and 5 deletions
10
src/overrides.mjs
Normal file
10
src/overrides.mjs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// read overrides from environment variables
|
||||
|
||||
const OVERRIDES = {};
|
||||
Object.entries(process.env).forEach(([key, value]) => {
|
||||
if (key.match(/^OVERRIDE_/)) {
|
||||
OVERRIDES[key.replace('OVERRIDE_', '')] = value;
|
||||
}
|
||||
});
|
||||
|
||||
export default OVERRIDES;
|
||||
Loading…
Add table
Add a link
Reference in a new issue