storacha / w3link

🪐 The IPFS gateway for web3.storage is not "another gateway", but a caching layer that sits on top of existing IPFS public gateways.
Other
24 stars 9 forks source link

feat: add csp report endpoint #39

Closed vasco-santos closed 1 year ago

vasco-santos commented 1 year ago

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 https://github.com/web3-storage/w3link/issues/33