Fix OrangeCircle not working in external web root setups

This commit is contained in:
Dorian Niemiec 2023-09-15 08:49:50 +02:00
parent e2e374a0e0
commit 616aef298e
2 changed files with 2 additions and 2 deletions

View file

@ -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"));

View file

@ -1,4 +1,4 @@
{
"name": "DorianTech OrangeCircle SCGI client for SVR.JS",
"version": "1.0.6"
"version": "1.0.7"
}