fix for wrapper

This commit is contained in:
barisusakli
2014-07-20 14:53:29 -04:00
parent 341a0c8190
commit b1e93c4558

View File

@@ -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);