mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-26 16:11:36 +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:
@@ -16,9 +16,7 @@ Things that still have to be implemented or changed.
|
||||
####Loader
|
||||
- Loading of module uses `eval()`. We might want to look into a better solution. [loader.js#L112](https://github.com/MichMich/MagicMirror/blob/v2-beta/js/loader.js#L112).
|
||||
|
||||
####Helper scripts
|
||||
- Only start helper scripts of modules that are actually loaded in the UI (config.js)
|
||||
- Notification system, so that not every helper scripts needs it's own socket to the UI.
|
||||
- `modules/newsfeed/node_helper.js` now spawns it's own epxress webserver on port 8080. We need to create a solution for every module that needs a server side url.
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user