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

fix: csp headers connect self with blob and data support #195

Closed vasco-santos closed 1 year ago

vasco-santos commented 1 year ago

This PR adds blob: and data: support for connect self in csp headers set for response

Context: https://github.com/nftstorage/nftstorage.link/issues/175#issuecomment-1304916390

cloudflare-pages[bot] commented 1 year ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3fe417b
Status: ✅  Deploy successful!
Preview URL: https://dc78eac9.nftstorage-link.pages.dev
Branch Preview URL: https://fix-csp-headers-connect-self.nftstorage-link.pages.dev

View logs