Files
MagicMirror/tests/configs/config_variables.js
Karsten Hassel 6cb3e24c2a replace template_spec test with config_variables test (#4034)
After introducing new config loading this PR replaces the obsolete
template test with a config test.
2026-02-09 20:35:54 +01:00

13 lines
433 B
JavaScript

let config = require(`${process.cwd()}/tests/configs/default.js`).configFactory({
language: "${MM_LANGUAGE}",
logLevel: ["${MM_LOG_ERROR}", "LOG", "WARN", "${MM_LOG_INFO}"],
timeFormat: ${MM_TIME_FORMAT},
hideConfigSecrets: true,
ipWhitelist: ["${SECRET_IP2}", "::${SECRET_IP3}", "${SECRET_IP1}"]
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {
module.exports = config;
}