2016-03-24 17:19:32 +01:00
/* exported defaults */
/ * M a g i c M i r r o r
2020-04-21 07:36:18 +02:00
* Config Defaults
2016-03-24 17:19:32 +01:00
*
* By Michael Teeuw http : //michaelteeuw.nl
* MIT Licensed .
* /
2017-01-31 21:58:46 -03:00
var port = 8080 ;
2017-08-25 18:40:55 +02:00
var address = "localhost" ;
2017-01-31 21:58:46 -03:00
if ( typeof ( mmPort ) !== "undefined" ) {
port = mmPort ;
}
2016-03-24 17:19:32 +01:00
var defaults = {
2017-06-25 12:18:59 +02:00
address : address ,
2017-01-31 21:58:46 -03:00
port : port ,
2020-04-06 21:29:55 +02:00
basePath : "/" ,
2016-07-27 12:50:59 +02:00
kioskmode : false ,
2016-12-10 17:02:54 +01:00
electronOptions : { } ,
2016-10-01 13:49:41 +02:00
ipWhitelist : [ "127.0.0.1" , "::ffff:127.0.0.1" , "::1" ] ,
2016-12-29 22:23:08 -03:00
2016-04-05 14:35:11 -04:00
language : "en" ,
2016-03-29 13:28:15 +02:00
timeFormat : 24 ,
2016-04-24 15:33:22 -05:00
units : "metric" ,
2016-12-02 21:05:36 +01:00
zoom : 1 ,
2017-05-19 19:54:43 +02:00
customCss : "css/custom.css" ,
2016-07-27 12:50:59 +02:00
2016-03-24 17:19:32 +01:00
modules : [
2016-10-15 13:08:46 +02:00
{
module : "updatenotification" ,
position : "top_center"
} ,
2016-03-24 17:19:32 +01:00
{
2016-04-05 14:35:11 -04:00
module : "helloworld" ,
position : "upper_third" ,
2016-04-09 15:49:39 +02:00
classes : "large thin" ,
2016-03-24 17:19:32 +01:00
config : {
2016-04-09 15:49:39 +02:00
text : "Magic Mirror<sup>2</sup>"
2016-03-24 17:19:32 +01:00
}
} ,
{
2016-04-05 14:35:11 -04:00
module : "helloworld" ,
position : "middle_center" ,
2016-03-24 17:19:32 +01:00
config : {
2016-04-05 14:35:11 -04:00
text : "Please create a config file."
2016-03-24 17:19:32 +01:00
}
} ,
{
2016-04-05 14:35:11 -04:00
module : "helloworld" ,
position : "middle_center" ,
2016-04-09 15:49:39 +02:00
classes : "small dimmed" ,
2016-03-24 17:19:32 +01:00
config : {
2016-04-09 15:49:39 +02:00
text : "See README for more information."
2016-03-24 17:19:32 +01:00
}
} ,
2016-05-03 11:18:06 +02:00
{
module : "helloworld" ,
position : "middle_center" ,
classes : "xsmall" ,
config : {
2016-05-03 11:19:01 +02:00
text : "If you get this message while your config file is already<br>created, your config file probably contains an error.<br>Use a JavaScript linter to validate your file."
2016-05-03 11:18:06 +02:00
}
} ,
2016-03-24 17:19:32 +01:00
{
2016-04-05 14:35:11 -04:00
module : "helloworld" ,
position : "bottom_bar" ,
2016-04-09 15:49:39 +02:00
classes : "xsmall dimmed" ,
2016-03-24 17:19:32 +01:00
config : {
2016-04-09 15:49:39 +02:00
text : "www.michaelteeuw.nl"
2016-03-24 17:19:32 +01:00
}
} ,
] ,
paths : {
2016-04-05 14:35:11 -04:00
modules : "modules" ,
vendor : "vendor"
2016-03-24 17:19:32 +01:00
} ,
2016-03-30 12:20:46 +02:00
} ;
/*************** DO NOT EDIT THE LINE BELOW ***************/
2016-04-05 14:35:11 -04:00
if ( typeof module !== "undefined" ) { module . exports = defaults ; }