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

Enable Cross-domain #270

Closed
eymen-elkum opened this issue Oct 17, 2016 · 3 comments
Closed

Enable Cross-domain #270

eymen-elkum opened this issue Oct 17, 2016 · 3 comments

Comments

@eymen-elkum
Copy link
Contributor

eymen-elkum commented Oct 17, 2016

Hi @yurikuzn

can we make the app Cross-domain enabled by default, or by setting?
I solved it but I am sure that it 's not he best solution, you may take a look to CorsSlim

@yurikuzn
Copy link
Contributor

Hi,

Do you have code committed to see how you implemented this?

@eymen-elkum
Copy link
Contributor Author

eymen-elkum commented Oct 18, 2016

I didn't used the CorsSlim, I just aded the code that treat with the OPTIONS requests, and aded cross-domain header

@eymen-elkum
Copy link
Contributor Author

eymen-elkum commented Oct 19, 2016

across-origin: handle OPTIONS requests to api: eymen-elkum@77a7391
across-origin: add Access-Control-Allow-Origin header: eymen-elkum@9ce4505

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

2 participants