Merge pull request #6749 from backstage/rugvip/basepath

core-app-api: add support for serving the app on a base path other than /
This commit is contained in:
Fredrik Adelöw
2021-08-09 13:43:58 +02:00
committed by GitHub
16 changed files with 159 additions and 29 deletions
@@ -187,7 +187,7 @@ new `CustomCatalogIndexPage`.
# packages/app/src/App.tsx
const routes = (
<FlatRoutes>
<Navigate key="/" to="/catalog" />
<Navigate key="/" to="catalog" />
- <Route path="/catalog" element={<CatalogIndexPage />} />
+ <Route path="/catalog" element={<CustomCatalogIndexPage />} />
```