diff --git a/datahub-web-react/src/app/Routes.tsx b/datahub-web-react/src/app/Routes.tsx index df1ee2b859..9353f7e220 100644 --- a/datahub-web-react/src/app/Routes.tsx +++ b/datahub-web-react/src/app/Routes.tsx @@ -35,7 +35,6 @@ export const Routes = (): JSX.Element => { } /> - {entityRegistry.getEntities().map((entity) => ( { path={PageRoutes.BROWSE_RESULTS} render={() => } /> + {/* Starting the react app locally opens /assets by default. For a smoother dev experience, we'll redirect to the homepage */} + } exact /> diff --git a/datahub-web-react/src/conf/Global.tsx b/datahub-web-react/src/conf/Global.tsx index b9bca7a0a0..035db94bbf 100644 --- a/datahub-web-react/src/conf/Global.tsx +++ b/datahub-web-react/src/conf/Global.tsx @@ -14,4 +14,5 @@ export enum PageRoutes { BROWSE = '/browse', BROWSE_RESULTS = '/browse/:type', DATASETS = '/datasets', + ASSETS = '/assets', }