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
I believe the docs for the AsyncServer class are incorrect. They state "cors_allowed_origins – List of origins that are allowed to connect to this server. All origins are allowed by default." All origins means to me that the default is '', but that doesn't seem to be the case. Only the same origin was allowed to make requests by default, I had to explicitly set cors_allowed_origins='' in the AsyncServer constructor to allow all.
I think this is probably the right choice for a default (more secure) but the docs should properly indicate the behavior.
The text was updated successfully, but these errors were encountered:
I believe the docs for the AsyncServer class are incorrect. They state "cors_allowed_origins – List of origins that are allowed to connect to this server. All origins are allowed by default." All origins means to me that the default is '', but that doesn't seem to be the case. Only the same origin was allowed to make requests by default, I had to explicitly set cors_allowed_origins='' in the AsyncServer constructor to allow all.
I think this is probably the right choice for a default (more secure) but the docs should properly indicate the behavior.
The text was updated successfully, but these errors were encountered: