You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #11116 Add CORS_ALLOWED_ORIGINS to running mercure (althaus)
This PR was merged into the 4.2 branch.
Discussion
----------
Add CORS_ALLOWED_ORIGINS to running mercure
I had some trouble to get the example running due to the simple fact that running mercure without a proper `CORS_ALLOWED_ORIGINS` value was preventing Firefox from connecting to the EventStream (instant close). Using chrome which keeps the connection but complains than with a proper error message hinting the to CORS_ALLOWED_ORIGIN finally helped me to figure out the problem.
So just adding the value to the example could reduce some headache.
Cheers
Matthias
Commits
-------
365a669 Add CORS_ALLOWED_ORIGINS to running mercure
0 commit comments