Skip to content

Commit a57cebf

Browse files
author
Ilya Egorov
committed
update ipfs hosts
1 parent 5ebe51a commit a57cebf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/tactDeployer/TactDeployer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const deployableTraitInitMessage = Cell.fromBoc(
2828
)[0];
2929

3030
async function fetchFromIpfs(hash: string) {
31-
const IPFS_GW = `https://gateway.pinata.cloud`;
31+
const IPFS_GW = `https://ton.mypinata.cloud`;
3232
return fetch(`${IPFS_GW}/ipfs/${hash}`);
3333
}
3434

src/lib/useLoadContractProof.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export async function loadProofData(
4646
const sourcesData = await ContractVerifier.getSourcesData(ipfsLink, {
4747
testnet: isTestnet,
4848
ipfsConverter: (ipfsUrl: string) => {
49-
const endpoint = "https://gateway.pinata.cloud/ipfs/";
49+
const endpoint = "https://ton.mypinata.cloud/ipfs/";
5050
return ipfsUrl.replace("ipfs://", endpoint);
5151
},
5252
});

0 commit comments

Comments
 (0)