mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
remove default values from test configs
This commit is contained in:
parent
c67320f185
commit
997aec8cc2
@ -6,12 +6,6 @@
|
|||||||
exports.configFactory = function (options) {
|
exports.configFactory = function (options) {
|
||||||
return Object.assign(
|
return Object.assign(
|
||||||
{
|
{
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
electronOptions: {
|
electronOptions: {
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
|
@ -4,12 +4,6 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "alert",
|
module: "alert",
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,12 +4,6 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "clock",
|
module: "clock",
|
||||||
|
@ -3,12 +3,6 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "clock",
|
module: "clock",
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,8 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "es",
|
language: "es",
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "es",
|
language: "es",
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,8 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "es",
|
language: "es",
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -5,11 +5,8 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "es",
|
language: "es",
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,12 +4,6 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "helloworld",
|
module: "helloworld",
|
||||||
|
@ -4,12 +4,6 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "helloworld",
|
module: "helloworld",
|
||||||
|
@ -4,12 +4,6 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "helloworld",
|
module: "helloworld",
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -3,11 +3,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -3,11 +3,7 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 12,
|
timeFormat: 12,
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
|
@ -4,12 +4,6 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
|
|
||||||
modules:
|
modules:
|
||||||
// Using exotic content. This is why don't accept go to JSON configuration file
|
// Using exotic content. This is why don't accept go to JSON configuration file
|
||||||
(function () {
|
(function () {
|
||||||
|
@ -4,10 +4,8 @@
|
|||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = {
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"],
|
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"],
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric"
|
units: "metric"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user