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 JSON_RPC to CSP header #6860

Merged
merged 1 commit into from
Feb 10, 2023
Merged

Add JSON_RPC to CSP header #6860

merged 1 commit into from
Feb 10, 2023

Conversation

vbaranov
Copy link
Member

@vbaranov vbaranov commented Feb 10, 2023

Resolves #6236

Motivation

When setting JSON_RPC env we are getting CSP browser errors after connecting the wallet.

Changelog

Add value of JSONRPC env var to CSP header.

Chore: remove obsolete code lines from .dialyzer-ignore

Checklist for your Pull Request (PR)

@vbaranov vbaranov changed the title JSON RPC to CSP header Add JSON_RPC to CSP header Feb 10, 2023
@vbaranov vbaranov merged commit d3e07fd into master Feb 10, 2023
@vbaranov vbaranov deleted the vb-json-rc-to-csp-header branch February 10, 2023 13:01
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.

JSON_RPC should be added to connect-src CSP automatically
1 participant