Default Route

Default Route is the route at which the user lands up after the successful login. We have set the default route to the Health-Care dashboard. However, a user can change the default route as per his requirement.

Changing the default Route is very simple. To update the default route, go to the file src/shared/constants/AppConst.js and change the initialUrl value.

export const initialUrl = '/dashboards/health-care';

You can change the value of initialUrl to change the default Route.

Last updated

Was this helpful?