mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
41 lines
718 B
JavaScript
41 lines
718 B
JavaScript
/* 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,
|
|
enableRemoteModule: true
|
|
}
|
|
},
|
|
|
|
modules: [
|
|
{
|
|
module: "calendar",
|
|
position: "bottom_bar",
|
|
config: {
|
|
calendars: [
|
|
{
|
|
maximumEntries: 6,
|
|
maximumNumberOfDays: 3650,
|
|
url: "http://localhost:8080/tests/configs/data/calendar_test_recurring.ics"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
if (typeof module !== "undefined") {
|
|
module.exports = config;
|
|
}
|