mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-08 10:32:50 +02:00
fix custom home
This commit is contained in:
@@ -111,6 +111,8 @@ module.exports = function (app, middleware, callback) {
|
||||
|
||||
// handle custom homepage routes
|
||||
router.use('/', controllers.home.rewrite);
|
||||
pluginRouter.use('/', controllers.home.rewrite);
|
||||
|
||||
// homepage handled by `action:homepage.get:[route]`
|
||||
setupPageRoute(router, '/', middleware, [], controllers.home.pluginHook);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user