mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 04:02:12 +00:00
refactor test config
This commit is contained in:
parent
8b484ee707
commit
a7ae79493d
@ -14,6 +14,7 @@ _This release is scheduled to be released on 2021-07-01._
|
|||||||
### Updated
|
### Updated
|
||||||
|
|
||||||
- Bump electron to v13 (and spectron to v15) and update other dependencies in package.json.
|
- Bump electron to v13 (and spectron to v15) and update other dependencies in package.json.
|
||||||
|
- Refactor test configs, use default test config for all tests.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
21
tests/configs/default.js
Normal file
21
tests/configs/default.js
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
let config = {
|
||||||
|
port: 8080,
|
||||||
|
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
||||||
|
|
||||||
|
language: "en",
|
||||||
|
timeFormat: 24,
|
||||||
|
units: "metric",
|
||||||
|
electronOptions: {
|
||||||
|
webPreferences: {
|
||||||
|
nodeIntegration: true,
|
||||||
|
enableRemoteModule: true,
|
||||||
|
contextIsolation: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
modules: []
|
||||||
|
};
|
||||||
|
|
||||||
|
if (typeof module !== "undefined") {
|
||||||
|
module.exports = config;
|
||||||
|
}
|
@ -3,23 +3,8 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = require('./default.js');
|
||||||
port: 8080,
|
config.ipWhitelist = [];
|
||||||
ipWhitelist: [],
|
|
||||||
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: []
|
|
||||||
};
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@ -3,23 +3,8 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
|
||||||
port: 8080,
|
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
|
|
||||||
language: "en",
|
let config = require('./default.js');
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: []
|
|
||||||
};
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@ -4,20 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "alert",
|
module: "alert",
|
||||||
@ -29,6 +15,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -38,6 +26,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -39,6 +27,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -38,6 +26,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -38,6 +26,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -34,6 +22,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -6,19 +6,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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -41,6 +29,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -36,6 +24,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -35,6 +23,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -26,6 +14,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,20 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "clock",
|
module: "clock",
|
||||||
@ -26,6 +12,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -3,20 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "clock",
|
module: "clock",
|
||||||
@ -29,6 +15,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -29,6 +17,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -29,6 +17,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -29,6 +17,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -26,6 +15,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -26,6 +14,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -29,6 +18,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -5,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -30,6 +19,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -34,6 +22,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -35,6 +23,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -31,6 +19,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -33,6 +21,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -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",
|
|
||||||
electronOptions: {
|
electronOptions: {
|
||||||
fullscreen: false,
|
fullscreen: false,
|
||||||
width: 800,
|
width: 800,
|
||||||
@ -40,6 +34,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,20 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "helloworld",
|
module: "helloworld",
|
||||||
@ -29,6 +15,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,20 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "helloworld",
|
module: "helloworld",
|
||||||
@ -26,6 +12,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -34,6 +22,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -3,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -33,6 +21,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -3,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -35,6 +23,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,20 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
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 () {
|
||||||
@ -36,6 +22,8 @@ let config = {
|
|||||||
})()
|
})()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,21 +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",
|
|
||||||
electronOptions: {
|
|
||||||
fullscreen: false,
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "compliments",
|
module: "compliments",
|
||||||
@ -42,6 +27,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -31,6 +19,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,20 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
module: "weather",
|
module: "weather",
|
||||||
@ -37,6 +23,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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: 24,
|
|
||||||
units: "imperial",
|
units: "imperial",
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -33,6 +21,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -33,6 +21,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -36,6 +24,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -4,19 +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: 24,
|
|
||||||
units: "imperial",
|
units: "imperial",
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: [
|
modules: [
|
||||||
{
|
{
|
||||||
@ -34,6 +22,8 @@ let config = {
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
config = Object.assign(require("../../default.js"), config);
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
@ -3,23 +3,8 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = require('./default.js');
|
||||||
port: 8080,
|
config.ipWhitelist = ["x.x.x.x"];
|
||||||
ipWhitelist: ["x.x.x.x"],
|
|
||||||
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: []
|
|
||||||
};
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@ -3,23 +3,8 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = require('./default.js');
|
||||||
port: 8090,
|
config.port = 8090;
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
|
|
||||||
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
modules: []
|
|
||||||
};
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
@ -3,21 +3,8 @@
|
|||||||
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
|
||||||
* MIT Licensed.
|
* MIT Licensed.
|
||||||
*/
|
*/
|
||||||
let config = {
|
let config = require('./default.js');
|
||||||
port: 8080,
|
delete config.modules;
|
||||||
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"],
|
|
||||||
|
|
||||||
language: "en",
|
|
||||||
timeFormat: 24,
|
|
||||||
units: "metric",
|
|
||||||
electronOptions: {
|
|
||||||
webPreferences: {
|
|
||||||
nodeIntegration: true,
|
|
||||||
enableRemoteModule: true,
|
|
||||||
contextIsolation: false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
||||||
if (typeof module !== "undefined") {
|
if (typeof module !== "undefined") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user