diff --git a/README.md b/README.md index 7d70cb88..5d5ffcdf 100644 --- a/README.md +++ b/README.md @@ -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. + + diff --git a/config/config.js.sample b/config/config.js.sample index 9e301459..03059a38 100644 --- a/config/config.js.sample +++ b/config/config.js.sample @@ -7,6 +7,7 @@ */ var config = { + port: 80, language: 'en', timeFormat: 24, @@ -47,4 +48,8 @@ var config = { }, ] -}; \ No newline at end of file +}; + + +/*************** DO NOT EDIT THE LINE BELOW ***************/ +if (typeof module !== 'undefined') {module.exports = config;} \ No newline at end of file diff --git a/index.html b/index.html index 23cf889e..70b73040 100644 --- a/index.html +++ b/index.html @@ -27,6 +27,7 @@