🪐 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
GET /perma-cache/:url endpoint added to api.nftstorage.link to be used by worker binding from gateway to API, in order to read from perma cache
worker bindings from Gateway to API
Other notes:
Also small utilities to handle URLs were moved to their own file for better code organization
Previously perma-cache/get.js had handler for GET perma cache list, but given we actually are adding a GET endpoint to get perma-cache content, it does not make sense anymore. Code there moved to list.js file and new handler code is in get.js
This PR adds:
Other notes:
perma-cache/get.js
had handler for GET perma cache list, but given we actually are adding a GET endpoint to get perma-cache content, it does not make sense anymore. Code there moved to list.js file and new handler code is in get.jsNeeds:
Closes #101