fix(backend-defaults): fixes actions registry http middleware conflicts

Signed-off-by: Adam Letizia <LetiziaAdam@JohnDeere.com>
This commit is contained in:
Adam Letizia
2026-04-06 10:52:29 -05:00
parent dd48192606
commit 85c5a4643b
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-defaults': patch
---
DefaultActionsRegistryService: add json middleware to /.backstage/actions/ routes only
@@ -90,7 +90,7 @@ export class DefaultActionsRegistryService implements ActionsRegistryService {
createRouter(): Router {
const router = PromiseRouter();
router.use(json());
router.use('/.backstage/actions/', json());
router.get('/.backstage/actions/v1/actions', async (req, res) => {
const credentials = await this.httpAuth.credentials(req);