28 lines
519 B
JavaScript
Raw Normal View History

2021-07-05 19:21:39 +02:00
/* Magic Mirror Test default config for modules
*
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
2021-07-05 19:57:04 +02:00
exports.configFactory = function (options) {
2021-07-13 23:39:55 +02:00
return Object.assign(
{
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
2021-07-05 00:33:50 +02:00
2021-07-13 23:39:55 +02:00
language: "en",
timeFormat: 24,
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true,
contextIsolation: false
}
},
2021-07-05 00:33:50 +02:00
2021-07-13 23:39:55 +02:00
modules: []
},
options
);
2021-07-05 00:33:50 +02:00
};