Closed elanalynn closed 1 year ago
Embedded apps need to set certain headers to ensure they can run in an iframe and receive requests from extensions.
This PR checks if the app is embedded and if so, sets the following headers for all responses:
Access-Control-Allow-Origin
Access-Control-Allow-Headers
Access-Control-Expose-Headers
Note: once this PR is merged, it becomes a new release for this template.
README.md
WHY are these changes introduced?
Embedded apps need to set certain headers to ensure they can run in an iframe and receive requests from extensions.
WHAT is this pull request doing?
This PR checks if the app is embedded and if so, sets the following headers for all responses:
Access-Control-Allow-Origin
Access-Control-Allow-Headers
Access-Control-Expose-Headers
Checklist
Note: once this PR is merged, it becomes a new release for this template.
README.md
file and other related documentation, if applicable (N/A)