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

Added support for CORS #37

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Added support for CORS #37

wants to merge 2 commits into from

Conversation

ken-bem
Copy link

@ken-bem ken-bem commented Oct 22, 2016

Added Support in the framework for CORS request, only need to add 'CORS' key to the herbert.config.php file

@jeremyzahner
Copy link
Contributor

@ken-bem I can see your intent. I like the idea to support CORS in general. I see one big problem with your implementation: You get to turn it off (no CORS) or on (EveryDomainThatExists CORS). If we allow to turn on CORS we should make it a little bit more configurable. Could you implement the possibility to set allowed Domains?

@ken-bem
Copy link
Author

ken-bem commented Jan 15, 2017

Well i can make the changes quickly and i you can check back and give your feedback it would be great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants