-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Regex CORs #264
Comments
The CORS specification does not support origins given as regular expressions. |
Yeh sure, I know its not the same but FastAPI have their own implementation to support RegexCORs is there any appetite for this ? Or is there another way I can support wildcard domains. Thanks |
How about this. Let's say the |
yeh that sounds like a nice elegant "workaround". Thanks Miguel |
Is your feature request related to a problem? Please describe.
Would it be possible to add regex CORs as an option, so we can support wildcard domains ?
Describe the solution you'd like
Perhaps you could specify another argument, something like so ?
socketio.AsyncServer(async_mode="asgi", regex_cors_allowed_origins=["http://localhost*:3000"])
Describe alternatives you've considered
Logs
Additional context
The text was updated successfully, but these errors were encountered: