47 lines
823 B
JavaScript
Raw Normal View History

2020-08-01 12:20:16 +02:00
/* Magic Mirror Test config for display setters module using the helloworld module
*
2021-04-08 21:12:56 +02:00
* By Rejas
2020-08-01 12:20:16 +02:00
* MIT Licensed.
*/
2021-03-21 17:20:31 +01:00
let config = {
2020-08-01 12:20:16 +02:00
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
electronOptions: {
fullscreen: false,
width: 800,
height: 600,
webPreferences: {
2021-01-30 20:29:59 +01:00
nodeIntegration: true,
2021-07-04 19:21:17 +02:00
enableRemoteModule: true,
contextIsolation: false
2020-08-01 12:20:16 +02:00
}
},
modules: [
{
module: "helloworld",
position: "top_bar",
header: "test_header",
config: {
text: "Test Display Header"
}
},
{
module: "helloworld",
position: "bottom_bar",
config: {
text: "Test Hide Header"
}
}
]
};
2021-04-08 21:12:56 +02:00
2020-08-01 12:20:16 +02:00
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {
module.exports = config;
}