Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore CORS support to CORS proxy (#2023)
## Motivation for the change, related issues We want to move the CORS proxy to a separate host from playground.wordpress.net. In order to continue using the proxy from playground.wordpress.net, the CORS proxy needs to support cross-origin requests to itself. ## Implementation details This PR updates the CORS proxy to again respond with CORS-related headers for supported origins. Currently, supported origins are "https://playground.wordpress.net" and local origins based on "127.0.0.1" and "localhost". ## Testing Instructions (or ideally a Blueprint) - Once #2022 is merged, deploy this branch to the dedicated CORS proxy host. - Create a Blueprint that uses the dedicated CORS proxy host. - Confirm the Blueprint works with playground.wordpress.net. - Confirm the Blueprint works with the local dev server.
- Loading branch information