forked from svrjs/svrjs
Cleaned up SVR.JS code
This commit is contained in:
parent
1ebf19d768
commit
71d1970571
1 changed files with 33 additions and 33 deletions
4
svr.js
4
svr.js
|
@ -2821,7 +2821,7 @@ if (!cluster.isPrimary) {
|
||||||
proxyMods.reverse().forEach(function (proxyMod) {
|
proxyMods.reverse().forEach(function (proxyMod) {
|
||||||
modFunction = proxyMod.proxyCallback(req, socket, head, configJSON, serverconsole, modFunction);
|
modFunction = proxyMod.proxyCallback(req, socket, head, configJSON, serverconsole, modFunction);
|
||||||
});
|
});
|
||||||
modFunction();
|
modfunction ();
|
||||||
}
|
}
|
||||||
|
|
||||||
function vres(req, socket, head, serverconsole) {
|
function vres(req, socket, head, serverconsole) {
|
||||||
|
@ -3442,7 +3442,7 @@ if (!cluster.isPrimary) {
|
||||||
for (var i = mods.length - 1; i >= 0; i--) {
|
for (var i = mods.length - 1; i >= 0; i--) {
|
||||||
modFunction = mods[i].callback(req, res, serverconsole, responseEnd, href, ext, uobject, search, "index.html", users, page404, head, foot, fd, modFunction, configJSON, callServerError, getCustomHeaders, origHref, redirect, parsePostData);
|
modFunction = mods[i].callback(req, res, serverconsole, responseEnd, href, ext, uobject, search, "index.html", users, page404, head, foot, fd, modFunction, configJSON, callServerError, getCustomHeaders, origHref, redirect, parsePostData);
|
||||||
}
|
}
|
||||||
modFunction();
|
modfunction ();
|
||||||
}
|
}
|
||||||
|
|
||||||
var vresCalled = false;
|
var vresCalled = false;
|
||||||
|
|
Reference in a new issue