mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-17 02:48:31 -07:00
feat: create environment variable for the config file (#2519)
Signed-off-by: wilmardo <info@wilmardenouden.nl>
This commit is contained in:
parent
981612c64c
commit
5083bbcc16
@ -1,6 +1,6 @@
|
|||||||
const data = require('./data');
|
const data = require('./data');
|
||||||
const utils = require('./utils');
|
const utils = require('./utils');
|
||||||
const file = data.joinPath('configuration.yaml');
|
const file = process.env.ZIGBEE2MQTT_CONFIG || data.joinPath('configuration.yaml');
|
||||||
const objectAssignDeep = require(`object-assign-deep`);
|
const objectAssignDeep = require(`object-assign-deep`);
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const yaml = require('./yaml');
|
const yaml = require('./yaml');
|
||||||
|
Loading…
Reference in New Issue
Block a user