MagicMirror/tests/configs/modules/compliments/compliments_parts_day.js

39 lines
808 B
JavaScript

/* Magic Mirror Test config for default compliments
*
* 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
}
},
modules: [
{
module: "compliments",
position: "middle_center",
config: {
compliments: {
morning: ["Hi", "Good Morning", "Morning test"],
afternoon: ["Hello", "Good Afternoon", "Afternoon test"],
evening: ["Hello There", "Good Evening", "Evening test"]
}
}
}
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {
module.exports = config;
}