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