-
Notifications
You must be signed in to change notification settings - Fork 929
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
gRPC-web CORS issue #1678
Comments
just ran into this myself, the problem is (noted by another user in #1636) that the version of |
Bug Report
Version
Platform
Linux
Crates
tonic-web
Description
I'm trying to use gRPC-web example provided here but I'm getting a CORS error into the browser during the API call:
I resolved in the past this problem with this modified example configuration:
but within the new version I'm getting this compiler error:
so I can't use it anymore and I've to relay entirely into the
tonic_web::enable
feature that is designed for the gRPC-web CORS problem.The text was updated successfully, but these errors were encountered: