diff --git a/src/webserver.js b/src/webserver.js index 7e8e01ed92..4e7dc896a8 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -106,7 +106,7 @@ function initializeNodeBB(callback) { middleware: middleware }, next); }, - function(next) { + function(results, next) { routes(app, middleware); next(); }