Skip to content
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

Implement CORS #16

Closed
DazWilkin opened this issue Nov 14, 2024 · 1 comment
Closed

Implement CORS #16

DazWilkin opened this issue Nov 14, 2024 · 1 comment

Comments

@DazWilkin
Copy link

DazWilkin commented Nov 14, 2024

Please consider adding CORS so that browser clients may (also) use gRPC-Web against FauxRPC.

Per this issue comment.

@sudorandom
Copy link
Owner

sudorandom commented Nov 16, 2024

This has been added and released as v0.2.0. Thanks for the request!

It's enabled by default with an option to disable it with --no-cors. There are currently no options for customizing the headers... I feel like a config file might be needed to reasonably support that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants