mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-09-14 08:07:01 +00:00
use factory
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
* By Rejas
|
||||
* MIT Licensed.
|
||||
*/
|
||||
let config = {
|
||||
const configFactory = require('../default.js')
|
||||
|
||||
let config = configFacory({
|
||||
modules: [
|
||||
{
|
||||
module: "helloworld",
|
||||
@@ -21,9 +23,8 @@ let config = {
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
});
|
||||
|
||||
config = Object.assign(require("../default.js"), config);
|
||||
config.electronOptions.fullscreen = false;
|
||||
config.electronOptions.width = 800;
|
||||
config.electronOptions.height = 600;
|
||||
|
Reference in New Issue
Block a user