2017-03-10 04:40:59 -03:00
|
|
|
/* Magic Mirror Test config default calendar
|
2020-04-22 22:07:03 +02:00
|
|
|
* with authentication old config
|
2017-03-10 04:40:59 -03:00
|
|
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
|
|
* MIT Licensed.
|
|
|
|
*/
|
|
|
|
|
|
|
|
var config = {
|
|
|
|
port: 8080,
|
|
|
|
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
|
|
|
|
|
|
language: "en",
|
|
|
|
timeFormat: 12,
|
|
|
|
units: "metric",
|
|
|
|
electronOptions: {
|
|
|
|
webPreferences: {
|
2020-05-11 22:22:32 +02:00
|
|
|
nodeIntegration: true
|
|
|
|
}
|
2017-03-10 04:40:59 -03:00
|
|
|
},
|
|
|
|
|
|
|
|
modules: [
|
|
|
|
{
|
|
|
|
module: "calendar",
|
|
|
|
position: "bottom_bar",
|
|
|
|
config: {
|
|
|
|
calendars: [
|
|
|
|
{
|
|
|
|
maximumNumberOfDays: 10000,
|
|
|
|
url: "http://localhost:8012/tests/configs/data/calendar_test.ics",
|
|
|
|
user: "MagicMirror",
|
|
|
|
pass: "CallMeADog"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
2020-05-11 22:22:32 +02:00
|
|
|
if (typeof module !== "undefined") {
|
|
|
|
module.exports = config;
|
|
|
|
}
|