@sdetweil said in After need take another config.js:
I discovered that the file name is defined in the check_config.js file!
/opt/magic_mirror/tests/configs/check_config.js
function getConfigFile() {
// FIXME: This function should be in core. Do you want refactor me ;) ?, be good!
rootPath = path.resolve(__dirname + “/…/…/”);
var configFileName = path.resolve(rootPath + “/config/config.js”);
if (process.env.MM_CONFIG_FILE) {
configFileName = path.resolve(process.env.MM_CONFIG_FILE);
}
return configFileName;
}