mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
42 lines
856 B
JavaScript
42 lines
856 B
JavaScript
/* Magic Mirror Test config default calendar
|
|
* with authentication old config
|
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
* 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, contextIsolation: false
|
|
}
|
|
},
|
|
|
|
modules: [
|
|
{
|
|
module: "calendar",
|
|
position: "bottom_bar",
|
|
config: {
|
|
calendars: [
|
|
{
|
|
maximumNumberOfDays: 10000,
|
|
url: "http://localhost:8080/tests/configs/data/calendar_test.ics",
|
|
user: "MagicMirror",
|
|
pass: "CallMeADog"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
if (typeof module !== "undefined") {
|
|
module.exports = config;
|
|
}
|