MagicMirror/js/defaults.js
Michael Teeuw 899d05bc32 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.
2016-03-30 12:20:46 +02:00

58 lines
947 B
JavaScript

/* exported defaults */
/* Magic Mirror
* Config Defauls
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*/
var defaults = {
port: 80,
language: 'en',
timeFormat: 24,
modules: [
{
module: 'helloworld',
position: 'upper_third',
config: {
text: 'Magic Mirror V2',
classes: 'large thin'
}
},
{
module: 'helloworld',
position: 'middle_center',
config: {
text: 'Please create a config file.'
}
},
{
module: 'helloworld',
position: 'middle_center',
config: {
text: 'See README for more information.',
classes: 'small dimmed'
}
},
{
module: 'helloworld',
position: 'bottom_bar',
config: {
text: 'www.michaelteeuw.nl',
classes: 'xsmall dimmed'
}
},
],
paths: {
modules: 'modules',
vendor: 'vendor'
},
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== 'undefined') {module.exports = defaults;}