Skip to content

Commit a3a17ac

Browse files
authored
Merge pull request #42 from hypercerts-org/feat/update-ipfs-url-web3up
feat: update ipfs url for web3up
2 parents 89390e2 + 84feb1e commit a3a17ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hypercerts-org/sdk",
3-
"version": "2.1.1",
3+
"version": "2.2.0",
44
"description": "SDK for hypercerts protocol",
55
"repository": "[email protected]:hypercerts-org/hypercerts-sdk.git",
66
"author": "Hypercerts team",

src/utils/fetchers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const getNftStorageGatewayUri = (cidOrIpfsUri: string) => {
5050
};
5151

5252
const getWeb3UpGatewayUri = (cidOrIpfsUri: string) => {
53-
const WEB3_STORAGE_IPFS_GATEWAY = "https://w3s.link/ipfs/{cid}";
53+
const WEB3_STORAGE_IPFS_GATEWAY = "https://{cid}.ipfs.w3s.link/";
5454
return WEB3_STORAGE_IPFS_GATEWAY.replace("{cid}", getCid(cidOrIpfsUri));
5555
};
5656

0 commit comments

Comments
 (0)