Skip to content

Commit 05bf406

Browse files
Update IPFS gateway (#89)
1 parent 3be929c commit 05bf406

File tree

2 files changed

+254
-309417
lines changed

2 files changed

+254
-309417
lines changed

Assets/Thirdweb/Core/Scripts/Storage.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ public class Storage
2828
public Storage(ThirdwebSDK.StorageOptions? storageOptions)
2929
{
3030
if (storageOptions != null)
31-
this.IPFSGateway = string.IsNullOrEmpty(storageOptions.Value.ipfsGatewayUrl) ? "https://ipfs.thirdwebstorage.com/ipfs/" : storageOptions.Value.ipfsGatewayUrl;
31+
this.IPFSGateway = string.IsNullOrEmpty(storageOptions.Value.ipfsGatewayUrl) ? "https://gateway.ipfscdn.io/ipfs/" : storageOptions.Value.ipfsGatewayUrl;
3232
else
33-
this.IPFSGateway = "https://ipfs.thirdwebstorage.com/ipfs/";
33+
this.IPFSGateway = "https://gateway.ipfscdn.io/ipfs/";
3434
}
3535

3636
public async Task<IPFSUploadResult> UploadText(string text)

0 commit comments

Comments
 (0)