2021-03-16 22:37:34 +01:00
|
|
|
/* Magic Mirror Test config newsfeed module
|
|
|
|
*
|
|
|
|
* 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-03-16 22:37:34 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
modules: [
|
|
|
|
{
|
|
|
|
module: "newsfeed",
|
|
|
|
position: "bottom_bar",
|
|
|
|
config: {
|
|
|
|
feeds: [
|
|
|
|
{
|
|
|
|
title: "Rodrigo Ramirez Blog",
|
|
|
|
url: "http://localhost:8080/tests/configs/data/feed_test_rodrigoramirez.xml"
|
|
|
|
}
|
|
|
|
],
|
2021-04-09 08:05:19 +02:00
|
|
|
prohibitedWords: ["QPanel"],
|
|
|
|
showDescription: true
|
2021-03-16 22:37:34 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
|
|
if (typeof module !== "undefined") {
|
|
|
|
module.exports = config;
|
|
|
|
}
|