46 lines
863 B
JavaScript
Raw Normal View History

2017-03-10 04:33:27 -03:00
/* Magic Mirror Test config default calendar
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
2021-03-21 17:20:31 +01:00
let config = {
2017-03-10 04:33:27 -03:00
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12,
units: "metric",
electronOptions: {
webPreferences: {
2021-01-30 20:29:59 +01:00
nodeIntegration: true,
2021-07-04 19:21:17 +02:00
enableRemoteModule: true,
contextIsolation: false
}
2017-03-10 04:33:27 -03:00
},
modules: [
{
module: "calendar",
position: "bottom_bar",
config: {
calendars: [
{
maximumNumberOfDays: 10000,
2021-01-06 12:41:52 +01:00
url: "http://localhost:8080/tests/configs/data/calendar_test.ics",
2017-03-10 04:33:27 -03:00
auth: {
user: "MagicMirror",
pass: "CallMeADog",
method: "basic"
}
}
]
}
}
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {
module.exports = config;
}