mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 11:11:04 +01:00
fix for wrapper
This commit is contained in:
@@ -161,7 +161,7 @@ module.exports = function(app, middleware) {
|
|||||||
relativePath = nconf.get('relative_path');
|
relativePath = nconf.get('relative_path');
|
||||||
|
|
||||||
router.render = function() {
|
router.render = function() {
|
||||||
app.render.call(arguments);
|
app.render.apply(app, arguments);
|
||||||
};
|
};
|
||||||
|
|
||||||
app.all(relativePath + '/api/*', middleware.updateLastOnlineTime, middleware.prepareAPI);
|
app.all(relativePath + '/api/*', middleware.updateLastOnlineTime, middleware.prepareAPI);
|
||||||
|
|||||||
Reference in New Issue
Block a user