Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overwriting CORS headers for remote server proxies #368

Open
entropitor opened this issue Nov 7, 2020 · 0 comments
Open

Allow overwriting CORS headers for remote server proxies #368

entropitor opened this issue Nov 7, 2020 · 0 comments

Comments

@entropitor
Copy link

When using https://github.com/typicode/hotel#proxy-requests-to-remote-servers, it would be nice if response cors headers could be overwritten from the config, to allow CORS requests to the local proxy.

This allows strict production CORS configs while still allowing developers to work against a staging / production server

@entropitor entropitor changed the title Overwrite CORS headers for remote server proxies Allow overwriting CORS headers for remote server proxies Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant