2017-03-10 16:45:45 -03:00
|
|
|
/* Magic Mirror Test calendar calendar
|
|
|
|
*
|
|
|
|
* This configuration is a wrong authentication
|
|
|
|
*
|
|
|
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
|
|
|
* MIT Licensed.
|
|
|
|
*/
|
2021-03-21 17:20:31 +01:00
|
|
|
let config = {
|
2017-03-10 16:45:45 -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,
|
|
|
|
enableRemoteModule: true
|
2020-05-11 22:22:32 +02:00
|
|
|
}
|
2017-03-10 16:45:45 -03:00
|
|
|
},
|
|
|
|
|
|
|
|
modules: [
|
|
|
|
{
|
|
|
|
module: "calendar",
|
|
|
|
position: "bottom_bar",
|
|
|
|
config: {
|
|
|
|
calendars: [
|
|
|
|
{
|
|
|
|
maximumNumberOfDays: 10000,
|
|
|
|
url: "http://localhost:8020/tests/configs/data/calendar_test.ics",
|
|
|
|
auth: {
|
|
|
|
user: "MagicMirror",
|
|
|
|
pass: "StairwayToHeaven",
|
|
|
|
method: "basic"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
2020-05-11 22:22:32 +02:00
|
|
|
if (typeof module !== "undefined") {
|
|
|
|
module.exports = config;
|
|
|
|
}
|