Add a nice description on how to apply the change

Signed-off-by: Ben Lambert <blam@spotify.com>

Signed-off-by: Ben Lambert <blam@spotify.com>
This commit is contained in:
Ben Lambert
2022-08-04 10:50:36 +02:00
committed by GitHub
parent 0174a0a022
commit 9dd717cbc5
+10
View File
@@ -3,3 +3,13 @@
---
Add `PATCH` and `HEAD` to the `Access-Control-Allow-Methods`.
To apply this change to your Backstage installation make the following change to your `app-config.yaml`
```diff
cors:
origin: http://localhost:3000
- methods: [GET, POST, PUT, DELETE]
+ methods: [GET, POST, PUT, DELETE, PATCH, HEAD]
```