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: perma cache delete multiple common urls #96

Closed vasco-santos closed 2 years ago

vasco-santos commented 2 years ago

This PR fixes HTTP DELETE /perma-cache/:url that should not remove from perma cache when there are still references to the URL

Tests had a few changes:

cloudflare-pages[bot] commented 2 years ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7dda9e0
Status: ✅  Deploy successful!
Preview URL: https://d5f24316.nftstorage-link.pages.dev

View logs