1
0
Fork 0
forked from svrjs/svrjs

Cleaned up SVR.JS code

This commit is contained in:
Dorian Niemiec 2023-08-29 15:03:13 +02:00
parent 1ebf19d768
commit 71d1970571

4
svr.js
View file

@ -2821,7 +2821,7 @@ if (!cluster.isPrimary) {
proxyMods.reverse().forEach(function (proxyMod) {
modFunction = proxyMod.proxyCallback(req, socket, head, configJSON, serverconsole, modFunction);
});
modFunction();
modfunction ();
}
function vres(req, socket, head, serverconsole) {
@ -3442,7 +3442,7 @@ if (!cluster.isPrimary) {
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();
modfunction ();
}
var vresCalled = false;