Merge pull request #15864 from backstage/blam/update-csp-docs
Updating `api-docs` readme for `csp` usage
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-api-docs': patch
|
||||
---
|
||||
|
||||
Updating the readme with better `csp` instructions
|
||||
@@ -164,6 +164,7 @@ This also may require you to adjust `Content Security Policy` header settings of
|
||||
```yaml
|
||||
script-src:
|
||||
- "'self'"
|
||||
- "'unsafe-eval'" # this is required for scaffolder usage, and ajv validation.
|
||||
- "'sha256-GeDavzSZ8O71Jggf/pQkKbt52dfZkrdNMQ3e+Ox+AkI='" # oauth2-redirect.html
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user