mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
proof-of-concept for hot-swapping of routes
This commit is contained in:
@@ -56,6 +56,7 @@ if(nconf.get('ssl')) {
|
||||
}, function(err, data) {
|
||||
middleware = middleware(app, data);
|
||||
routes(app, middleware);
|
||||
plugins.prepareApp(app, middleware);
|
||||
|
||||
if (err) {
|
||||
winston.error('Errors were encountered while attempting to initialise NodeBB.');
|
||||
|
||||
Reference in New Issue
Block a user