1
0
Fork 0
forked from svrjs/svrjs

Fix problems executing SVR.JS 2.x and 3.x mods, and server-side JavaScript

This commit is contained in:
Dorian Niemiec 2024-08-25 15:53:45 +02:00
parent 6302bb0044
commit 7d4dcdd2a6

View file

@ -84,7 +84,7 @@ module.exports = (legacyMod) => {
res.redirect, // redirect res.redirect, // redirect
parsePostData, // parsePostData parsePostData, // parsePostData
req.authUser, // authUser req.authUser, // authUser
); )();
}; };
if (legacyModHandler.proxyCallback) { if (legacyModHandler.proxyCallback) {
@ -96,7 +96,7 @@ module.exports = (legacyMod) => {
config, // configJSON config, // configJSON
logFacilities, // serverconsole logFacilities, // serverconsole
next, // elseCallback next, // elseCallback
); )();
}; };
} }