From 94b0cd162ce864d44726a1d486389b0a1fdd3efc Mon Sep 17 00:00:00 2001 From: Daniel Norman <1992255+2color@users.noreply.github.com> Date: Wed, 31 Jan 2024 00:56:43 +0100 Subject: [PATCH] fix: @helia/block-brokers gateways uses path gateways (#374) * fix: use path gateway to avoid redirects fixes #347 * Update packages/block-brokers/src/trustless-gateway/index.ts Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> --------- Co-authored-by: Daniel N <2color@users.noreply.github.com> Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> --- 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..91dcab15c 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://trustless-gateway.link', // 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'