mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 21:00:57 +00:00
Add server (web/socket), create socket system, better helper loader.
- The Magic Mirror is now hosted via a express server, allowing you to load it from an external client (for debugging.) - It now includes a socket system to communicate between the node_helper and the client module. - node_helpers are now only loaded if the module is configured in the config.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
var defaults = {
|
||||
port: 80,
|
||||
|
||||
language: 'en',
|
||||
timeFormat: 24,
|
||||
@@ -50,4 +51,8 @@ var defaults = {
|
||||
modules: 'modules',
|
||||
vendor: 'vendor'
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||
if (typeof module !== 'undefined') {module.exports = defaults;}
|
Reference in New Issue
Block a user