Merge pull request #33670 from backstage/rugvip/app-routes-redirect-config

plugin-app: add redirect config to app/routes extension
This commit is contained in:
Patrik Oldsberg
2026-03-30 16:40:37 +02:00
committed by GitHub
6 changed files with 338 additions and 4 deletions
+17
View File
@@ -0,0 +1,17 @@
---
'@backstage/plugin-app': patch
---
Added support for configuring URL redirects on the `app/routes` extension. Redirects can be configured through `app-config` as an array of `{from, to}` path pairs, which will cause navigation to the `from` path to be redirected to the `to` path.
For example:
```yaml
app:
extensions:
- app/routes:
config:
redirects:
- from: /old-path
to: /new-path
```