2021-04-22 10:43:10 +02:00
|
|
|
/* Magic Mirror Test config custom calendar
|
|
|
|
*
|
|
|
|
* By Rejas
|
|
|
|
* MIT Licensed.
|
|
|
|
*/
|
|
|
|
let config = {
|
|
|
|
port: 8080,
|
|
|
|
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
|
|
|
|
|
|
language: "en",
|
|
|
|
timeFormat: 12,
|
|
|
|
units: "metric",
|
|
|
|
electronOptions: {
|
|
|
|
webPreferences: {
|
|
|
|
nodeIntegration: true,
|
2021-07-04 19:21:17 +02:00
|
|
|
enableRemoteModule: true,
|
|
|
|
contextIsolation: false
|
2021-04-22 10:43:10 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
modules: [
|
|
|
|
{
|
|
|
|
module: "calendar",
|
|
|
|
position: "bottom_bar",
|
|
|
|
config: {
|
|
|
|
calendars: [
|
|
|
|
{
|
2021-05-02 15:07:02 +02:00
|
|
|
maximumEntries: 6,
|
|
|
|
maximumNumberOfDays: 3650,
|
2021-04-22 10:43:10 +02:00
|
|
|
url: "http://localhost:8080/tests/configs/data/calendar_test_recurring.ics"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
|
|
if (typeof module !== "undefined") {
|
|
|
|
module.exports = config;
|
|
|
|
}
|