2021-04-11 20:59:33 +02:00
|
|
|
/* Magic Mirror Test config sample module alert
|
|
|
|
*
|
|
|
|
* By rejas
|
|
|
|
* MIT Licensed.
|
|
|
|
*/
|
|
|
|
let config = {
|
|
|
|
port: 8080,
|
|
|
|
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
|
|
|
|
|
|
language: "en",
|
|
|
|
timeFormat: 24,
|
|
|
|
units: "metric",
|
|
|
|
electronOptions: {
|
|
|
|
webPreferences: {
|
|
|
|
nodeIntegration: true,
|
2021-07-04 19:21:17 +02:00
|
|
|
enableRemoteModule: true,
|
|
|
|
contextIsolation: false
|
2021-04-11 20:59:33 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
modules: [
|
|
|
|
{
|
|
|
|
module: "alert",
|
|
|
|
config: {
|
|
|
|
display_time: 1000000,
|
|
|
|
welcome_message: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
|
|
if (typeof module !== "undefined") {
|
|
|
|
module.exports = config;
|
|
|
|
}
|