mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 04:45:17 +00:00
use factory
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
*
|
||||
* MIT Licensed.
|
||||
*/
|
||||
let config = {
|
||||
const configFactory = require('../../default.js')
|
||||
|
||||
const config = configFacory({
|
||||
modules: [
|
||||
{
|
||||
module: "clock",
|
||||
@@ -13,9 +15,7 @@ let config = {
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
config = Object.assign(require("../../default.js"), config);
|
||||
});
|
||||
|
||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||
if (typeof module !== "undefined") {
|
||||
|
Reference in New Issue
Block a user