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

RPC server: add option to configure CORS origins #3258

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

Eligioo
Copy link
Member

@Eligioo Eligioo commented Jan 29, 2025

What's in this pull request?

Add option to configure CORS for the RPC server

This fixes #2225.

Pull request checklist

  • All tests pass. The project builds and runs.
  • I have resolved any merge conflicts.
  • I have resolved all clippy and rustfmt warnings.

@Eligioo Eligioo requested review from jsdanielh, hrxi and nibhar January 29, 2025 16:02
Copy link
Member

@jsdanielh jsdanielh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsdanielh jsdanielh merged commit 72cd684 into albatross Jan 30, 2025
8 checks passed
@jsdanielh jsdanielh deleted the stefan/rpc-cors branch January 30, 2025 16:05
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.

[RPC / Websocket] - Way to add CORS allowlist so we can allow all or specific website to directly connect.
2 participants