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,9 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const configFactory = require("./default.js");
const config = configFacory({
const config = require("./default.js").configFactory({
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"]
});