In the security solution, we are having different routes like
- app/security/overview
- app/security/alerts
- app/security/hosts
- etc...
we would like to redirect the route app/security to app/security/overview by doing that
core.application.register({
id: 'security',
title: 'Security',
appRoute: 'app/security',
navLinkStatus: AppNavLinkStatus.hidden,
mount: async (params: AppMountParameters) => {
const [{ application }] = await core.getStartServices();
application.navigateToApp(`${APP_ID}:${SecurityPageName.overview}`, { replace: true });
return () => true;
},
});
However, when we are doing that, we are breaking all the different routes in our app. Since everything is going to the mount of the route app/security. That's why we think to add an exact property will resolve our problem.
In the security solution, we are having different routes like
we would like to redirect the route
app/securitytoapp/security/overviewby doing thatHowever, when we are doing that, we are breaking all the different routes in our app. Since everything is going to the mount of the route
app/security. That's why we think to add anexactproperty will resolve our problem.