Make easy to build a service with a customized Cors layer #1769
Unanswered
exepulveda
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What do you think of adding something like the following?
pub fn enable_with_cors<S>(service: S, cors: CorsLayer) -> CorsGrpcWeb<S>;
to make it easier to add a custom cors layer, as the current
enable
function create a default one that may not be what you need.Beta Was this translation helpful? Give feedback.
All reactions