Skip to content

Commit

Permalink
Merge pull request #199 from awanlin/topic/fix-catalog-route-regression
Browse files Browse the repository at this point in the history
Fixed Catalog route regression
  • Loading branch information
awanlin authored Dec 3, 2023
2 parents f132dfe + 62ecc85 commit a010d84
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
CostInsightsProjectGrowthInstructionsPage,
} from '@backstage/plugin-cost-insights';
import { ExplorePage } from '@backstage/plugin-explore';
import { Route } from 'react-router';
import { Navigate, Route } from 'react-router';
import {
TechDocsIndexPage,
TechDocsReaderPage,
Expand Down Expand Up @@ -90,6 +90,7 @@ const app = createApp({

const routes = (
<FlatRoutes>
<Route path="/" element={<Navigate to="catalog" />} />
<FeatureFlagged with="customizable-home-page-preview">
<Route path="/home" element={<HomepageCompositionRoot />}>
<CustomizableHomePage />
Expand All @@ -102,7 +103,7 @@ const routes = (
</FeatureFlagged>
<Route path="/api-docs" element={<ApiExplorerPage />} />
<Route
path="/"
path="/catalog"
element={<CatalogIndexPage initiallySelectedFilter="all" />}
/>
<Route
Expand Down

0 comments on commit a010d84

Please sign in to comment.