This commit is contained in:
陆柯 2022-07-23 12:39:59 +08:00
parent 3ca01197d9
commit d9251a01af

View File

@ -72,7 +72,7 @@ module.exports = {
/*
*/
get_dynamic_envar ({ dynamicEnvarFile = 'envar-base-dynamic.js' } = {}) {
get_dynamic_envar ({ dynamicEnvarFile = './envar-base-dynamic.js' } = {}) {
// dynamicEnvarFile should be absolute or relative to the node process's dir.
const fullpath = path.resolve(dynamicEnvarFile)
if (fs.existsSync(fullpath)) {