diff --git a/core/frontend/services/routing/bootstrap.js b/core/frontend/services/routing/bootstrap.js index 919e8e7916..66600021c7 100644 --- a/core/frontend/services/routing/bootstrap.js +++ b/core/frontend/services/routing/bootstrap.js @@ -43,6 +43,8 @@ const init = ({start = false, routerSettings, apiVersion, urlService}) => { registry.resetAllRouters(); registry.resetAllRoutes(); + // NOTE: this event could become an "internal frontend" in the future, it's used has been kept to prevent + // from tying up this module with sitemaps events.emit('routers.reset'); siteRouter = new ParentRouter('SiteRouter');