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

Add cors support to cli serve #102

Merged
merged 1 commit into from
Aug 30, 2022
Merged

Add cors support to cli serve #102

merged 1 commit into from
Aug 30, 2022

Conversation

paulbellamy
Copy link
Contributor

What

Add CORS headers to cli serve.

Why

This allows webapps running on a different domain (or port) to query it. This is helpful for local development.

Fixes #93

Known limitations

We should allow user to make this stricter when deploying soroban-rpc for production use.

@paulbellamy paulbellamy merged commit 267e7b9 into stellar:main Aug 30, 2022
@paulbellamy paulbellamy deleted the cors branch August 30, 2022 15:56
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

Successfully merging this pull request may close these issues.

CLI: Add CORS headers to cli serve
2 participants