use process.cwd() for correct path

This commit is contained in:
Karsten Hassel
2021-07-13 23:39:55 +02:00
parent 9aa0af4f9c
commit e75e4e2284
43 changed files with 61 additions and 57 deletions

View File

@@ -3,9 +3,10 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
const config = require("./default.js").configFactory({
let config = require(process.cwd() + "/tests/configs/default.js").configFactory({
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"]
});
delete config.modules;
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {