Fix YellowSquare not working in external web root setups
This commit is contained in:
parent
c85491150f
commit
6ab5ede805
2 changed files with 2 additions and 2 deletions
2
index.js
2
index.js
|
@ -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) {
|
||||||
|
|
2
mod.info
2
mod.info
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"name": "DorianTech YellowSquare JSGI engine for SVR.JS",
|
"name": "DorianTech YellowSquare JSGI engine for SVR.JS",
|
||||||
"version": "1.0.2"
|
"version": "1.0.3"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue