1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

switch IPFS gateway (#404)

* switch to dweb.link for loading 3Box profile images
* ipfs.oceanprotocol.com has been deprecated
This commit is contained in:
Matthias Kretschmann 2021-02-25 15:00:42 +01:00 committed by GitHub
parent fe67af2dda
commit 433af0147a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ import { Logger } from '@oceanprotocol/lib'
// https://docs.3box.io/api/rest-api
const apiUri = 'https://3box.oceanprotocol.com'
const ipfsUrl = 'https://ipfs.oceanprotocol.com'
const ipfsUrl = 'https://dweb.link'
function decodeProof(proofJWT: string) {
if (!proofJWT) return