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

Add warning about CORS_ALLOWED_ORIGINS #56

Closed
althaus opened this issue Mar 8, 2019 · 2 comments
Closed

Add warning about CORS_ALLOWED_ORIGINS #56

althaus opened this issue Mar 8, 2019 · 2 comments

Comments

@althaus
Copy link
Contributor

althaus commented Mar 8, 2019

Hi,

it'd be great if you could add a warning about CORS_ALLOWED_ORIGINS. It took my some time and trial-and-error to come to the final conlusion that I have to set CORS_ALLOWED_ORIGIN=* on my localhost to get this started.

I followed the Symfony doc and could only figure this our switching from Firefox to Chrome. I also proposed the change for the doc: symfony/symfony-docs#11116

Cheers
Matthias

@dunglas
Copy link
Owner

dunglas commented Mar 8, 2019

Good catch thanks! Would you mind updating the README if appropriate?

althaus added a commit to althaus/mercure that referenced this issue Mar 9, 2019
Hey,

I've added some hints on browser issues to the trouble section and also changed the default parameters for the binary example.

Cheers
Matthias
@alamirault
Copy link

Thanks, I had this problem without details about it in doc

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

3 participants