Fix YellowSquare not working in external web root setups

This commit is contained in:
Dorian Niemiec 2023-09-15 08:51:04 +02:00
parent d1bf62ec71
commit a1de9da896

View file

@ -12,7 +12,7 @@ try {
} catch (ex) { } catch (ex) {
// Can't determine version // 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 { class RequestBodyStream extends stream.Readable {
constructor(sourceStream) { constructor(sourceStream) {