From a1de9da8969f000d1a2475227b77fad4c88d6c7b Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Fri, 15 Sep 2023 08:51:04 +0200 Subject: [PATCH] Fix YellowSquare not working in external web root setups --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e1b98e5..272d269 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ try { } catch (ex) { // Can't determine version } -var configJSONS = JSON.parse(fs.readFileSync("config.json")); // Read configuration JSON +var configJSONS = JSON.parse(fs.readFileSync(__dirname + "/../../../config.json")); // Read configuration JSON class RequestBodyStream extends stream.Readable { constructor(sourceStream) {