mirror of
https://github.com/MichMich/MagicMirror.git
synced 2026-04-25 23:32:10 +00:00
After introducing new config loading this PR replaces the obsolete template test with a config test.
13 lines
433 B
JavaScript
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;
|
|
}
|