factory again

This commit is contained in:
Karsten Hassel
2021-07-05 19:57:04 +02:00
parent 209e049893
commit 9aa0af4f9c
46 changed files with 77 additions and 142 deletions

View File

@@ -3,8 +3,9 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
let config = require("./default.js");
config.ipWhitelist = ["x.x.x.x"];
const config = require("./default.js").configFactory({
ipWhitelist: ["x.x.x.x"]
});
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {