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

Gateway: allow CORS all origins to fix firefox error #1991

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

BedrockSquirrel
Copy link
Collaborator

Why this change is needed

Metamask RPC requests from Firefox were failing with CORS errors so TEN Gateway was unusable with FF.

What changes were made as part of this PR

Permit all CORS origins (there is a todo above the line already to review this at some point for safety, for now this unblocks testnet users).

image

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

@badgersrus badgersrus self-requested a review July 16, 2024 07:58
Copy link
Contributor

@badgersrus badgersrus left a comment

Choose a reason for hiding this comment

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

lgtm & f CORS

@BedrockSquirrel BedrockSquirrel merged commit e9b2977 into main Jul 16, 2024
2 checks passed
@BedrockSquirrel BedrockSquirrel deleted the matt/firefox-cors branch July 16, 2024 08:03
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.

2 participants