mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
wait for all routes to load before listening
This commit is contained in:
@@ -96,8 +96,7 @@ function initializeNodeBB(callback) {
|
||||
plugins.fireHook('filter:hotswap.prepare', [], next);
|
||||
},
|
||||
function (hotswapIds, next) {
|
||||
routes(app, middleware, hotswapIds);
|
||||
next();
|
||||
routes(app, middleware, hotswapIds, next);
|
||||
},
|
||||
function (next) {
|
||||
async.series([
|
||||
|
||||
Reference in New Issue
Block a user