Files
MagicMirror/tests/configs/modules/calendar/fail-basic-auth.js
T

47 lines
858 B
JavaScript
Raw Normal View History

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.
*/
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 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;
}