mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-17 00:59:29 -07:00
11 lines
241 B
JavaScript
11 lines
241 B
JavaScript
// 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;
|