35 lines
637 B
JavaScript
Raw Normal View History

2017-01-30 12:24:49 -03:00
/* Magic Mirror Test config sample module hello world
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
2021-03-21 17:20:31 +01:00
let config = {
2017-01-30 12:24:49 -03:00
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
electronOptions: {
webPreferences: {
2021-01-30 20:29:59 +01:00
nodeIntegration: true,
enableRemoteModule: true
}
2017-01-30 12:24:49 -03:00
},
modules: [
{
module: "helloworld",
position: "bottom_bar",
config: {
text: "Test HelloWorld Module"
}
}
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {
module.exports = config;
}