nftstorage / nftstorage.link

🪐 NFT.Storage Gateway, the IPFS gateway for NFT.Storage is not "another gateway", but a caching layer for NFTs that sits on top of existing IPFS public gateways. ***Notice: Uploads have been decommissioned.**** Learn more and find a new hot storage provider for uploading new assets: nft.storage/nft-storage-classic
https://nft.storage/nft-storage-classic
Other
46 stars 10 forks source link

feat: add csp report endpoint #209

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