forked from svrjs/svrjs
Fix problems executing SVR.JS 2.x and 3.x mods, and server-side JavaScript
This commit is contained in:
parent
6302bb0044
commit
7d4dcdd2a6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
);
|
)();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue