From 26a450a63aa329454d2dc8b03525c7cc01ad8d7f Mon Sep 17 00:00:00 2001 From: F-Node-Karlsruhe Date: Tue, 21 Mar 2023 11:32:19 +0100 Subject: [PATCH] add EECC IPFS gateway --- CHANGELOG.md | 1 + api/src/services/fetch/index.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00ab462..6c5a140 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ VC Verifier Changelog WIP --- +- add EECC IPFS gateways as default - fix IPFS promises - UI improvements diff --git a/api/src/services/fetch/index.ts b/api/src/services/fetch/index.ts index 6b93825..076a530 100644 --- a/api/src/services/fetch/index.ts +++ b/api/src/services/fetch/index.ts @@ -5,7 +5,7 @@ const HEADERS = { 'Accept': 'application/ld+json, application/json' } -const IPFS_GATEWAYS = ['ipfs.io'].concat(process.env.IPFS_GATEWAYS ? process.env.IPFS_GATEWAYS.split(',') : []); +const IPFS_GATEWAYS = ['ipfs.io', 'ipfs.ssi.eecc.de'].concat(process.env.IPFS_GATEWAYS ? process.env.IPFS_GATEWAYS.split(',') : []); export async function fetch_jsonld(url: string): Promise {