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

feat: add csp report endpoint #209

Merged
merged 1 commit into from Jan 3, 2023
Merged

Conversation

vasco-santos
Copy link
Member

@vasco-santos vasco-santos commented Jan 3, 2023

Adds csp report endpoint. Be aware that for browser compatibility, we need to use new report-to, as well as deprecated report-uri. This simply adds a secret with the URI, injects it into the headers and cleans up a bit the headers.

Closes web3-storage/w3link#33

@vasco-santos vasco-santos merged commit c1d3b26 into main Jan 3, 2023
@vasco-santos vasco-santos deleted the feat/add-csp-report-endpoint branch January 3, 2023 13:15
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.

CSP add report-uri
1 participant