mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
33 lines
608 B
JavaScript
33 lines
608 B
JavaScript
|
/* Magic Mirror Test config sample module hello world
|
||
|
*
|
||
|
* 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: 24,
|
||
|
units: "metric",
|
||
|
electronOptions: {
|
||
|
webPreferences: {
|
||
|
nodeIntegration: true,
|
||
|
},
|
||
|
},
|
||
|
|
||
|
modules: [
|
||
|
{
|
||
|
module: "helloworld",
|
||
|
position: "bottom_bar",
|
||
|
config: {
|
||
|
text: "Test HelloWorld Module"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
|
||
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||
|
if (typeof module !== "undefined") {module.exports = config;}
|