From e43c482c8eac0cefdb3522729575f77e48f45c66 Mon Sep 17 00:00:00 2001 From: Daniel N <2color@users.noreply.github.com> Date: Wed, 10 Jan 2024 13:19:29 +0100 Subject: [PATCH 1/2] fix: use path gateway to avoid redirects fixes #347 --- packages/block-brokers/src/trustless-gateway/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-brokers/src/trustless-gateway/index.ts b/packages/block-brokers/src/trustless-gateway/index.ts index 53ff49b4c..077c6e626 100644 --- a/packages/block-brokers/src/trustless-gateway/index.ts +++ b/packages/block-brokers/src/trustless-gateway/index.ts @@ -5,10 +5,10 @@ import type { ProgressEvent } from 'progress-events' export const DEFAULT_TRUSTLESS_GATEWAYS = [ // 2023-10-03: IPNS, Origin, and Block/CAR support from https://ipfs-public-gateway-checker.on.fleek.co/ - 'https://dweb.link', + 'https://ipfs.io', // 2023-10-03: IPNS, Origin, and Block/CAR support from https://ipfs-public-gateway-checker.on.fleek.co/ - 'https://cf-ipfs.com', + 'https://cloudflare-ipfs.com', // 2023-10-03: IPNS, Origin, and Block/CAR support from https://ipfs-public-gateway-checker.on.fleek.co/ 'https://4everland.io' From d94fd3e751bf6539a627a14789fee459eee2ccbd Mon Sep 17 00:00:00 2001 From: Daniel Norman <1992255+2color@users.noreply.github.com> Date: Tue, 16 Jan 2024 17:44:33 +0100 Subject: [PATCH 2/2] Update packages/block-brokers/src/trustless-gateway/index.ts Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> --- packages/block-brokers/src/trustless-gateway/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-brokers/src/trustless-gateway/index.ts b/packages/block-brokers/src/trustless-gateway/index.ts index 077c6e626..91dcab15c 100644 --- a/packages/block-brokers/src/trustless-gateway/index.ts +++ b/packages/block-brokers/src/trustless-gateway/index.ts @@ -5,7 +5,7 @@ import type { ProgressEvent } from 'progress-events' export const DEFAULT_TRUSTLESS_GATEWAYS = [ // 2023-10-03: IPNS, Origin, and Block/CAR support from https://ipfs-public-gateway-checker.on.fleek.co/ - 'https://ipfs.io', + 'https://trustless-gateway.link', // 2023-10-03: IPNS, Origin, and Block/CAR support from https://ipfs-public-gateway-checker.on.fleek.co/ 'https://cloudflare-ipfs.com',