mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
fixed ajaxify bug introduced in last commit
This commit is contained in:
@@ -122,6 +122,7 @@ module.exports = function(app, middleware) {
|
||||
adminRoutes(app, middleware, controllers);
|
||||
|
||||
plugins.ready(function() {
|
||||
app.all('/api/*', middleware.updateLastOnlineTime, middleware.prepareAPI);
|
||||
plugins.fireHook('action:app.load', app, middleware, controllers);
|
||||
|
||||
metaRoutes(app, middleware, controllers);
|
||||
|
||||
Reference in New Issue
Block a user