Update to YellowSquare 1.1.3
This commit is contained in:
parent
f339445ea5
commit
705da378f1
2 changed files with 2 additions and 2 deletions
2
index.js
2
index.js
|
@ -233,7 +233,7 @@ Mod.prototype.callback = function (req, res, serverconsole, responseEnd, href, e
|
||||||
executeJSGI("." + a, req, res, dh, jsgiRequestObject);
|
executeJSGI("." + a, req, res, dh, jsgiRequestObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (href.match(new RegExp("/jsgi-bin(?:$|[?#/])",os.platform() == "win32" ? "i" : ""))) {
|
if (href.match(new RegExp("^/jsgi-bin(?:$|[?#/])",os.platform() == "win32" ? "i" : ""))) {
|
||||||
fs.stat("." + decodeURIComponent(href), function (err, stats) {
|
fs.stat("." + decodeURIComponent(href), function (err, stats) {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
if (!stats.isFile()) {
|
if (!stats.isFile()) {
|
||||||
|
|
2
mod.info
2
mod.info
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"name": "YellowSquare JSGI engine for SVR.JS",
|
"name": "YellowSquare JSGI engine for SVR.JS",
|
||||||
"version": "1.1.2"
|
"version": "1.1.3"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue