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

Enable CORS on RPC API #2582

Closed
arturalbov opened this issue Oct 9, 2018 · 3 comments
Closed

Enable CORS on RPC API #2582

arturalbov opened this issue Oct 9, 2018 · 3 comments
Labels
C:rpc Component: JSON RPC, gRPC
Milestone

Comments

@arturalbov
Copy link

Is there any way to enable CORS on Tendermint node RPC API?
I want to have an ability to sign and send transactions to node directly from browser.
I really don't want to start some proxy server
Thanks

@xla xla added C:rpc Component: JSON RPC, gRPC T:question Type: Question user labels Oct 9, 2018
@ebuchman ebuchman added this to the v1.0 milestone Oct 9, 2018
@ebuchman ebuchman added help wanted and removed T:question Type: Question labels Oct 12, 2018
@hleb-albau
Copy link
Contributor

@ebuchman I can take that issue. Is it okey to use some lib here (such https://github.com/rs/cors)?

@jackzampolin
Copy link
Contributor

@hleb-albau That should work! Can you open a PR?

@melekes
Copy link
Contributor

melekes commented Nov 14, 2018

PR with a fix/feature was merged to develop. Will be shipped with 0.26.2 release (check the changelog).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:rpc Component: JSON RPC, gRPC
Projects
None yet
Development

No branches or pull requests

6 participants