From cb6d910470996cefa27836d9e9ebe7c980060d78 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Fri, 15 Sep 2023 08:48:27 +0200 Subject: [PATCH] Fix OrangeCircle 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 de2ff23..135beca 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,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 var scgiConf = {}; try { scgiConf = JSON.parse(fs.readFileSync(__dirname + "/../../../orangecircle-config.json"));