diff --git a/src/contentProviders/ipfsProvider.ts b/src/contentProviders/ipfsProvider.ts index b2391c7..a7bbd0b 100644 --- a/src/contentProviders/ipfsProvider.ts +++ b/src/contentProviders/ipfsProvider.ts @@ -71,6 +71,8 @@ export default class IpfsProvider extends BaseProvider { let err; let stat: UnixFSStats | null = null; const parsedPath = path.parse(urlPath); + cid = cid.replace("ipns://", "/ipns/"); + cid = cid.replace("ipfs://", "/ipfs/"); try { if (ipnsPath(cid)) { const cidHash = cid.replace("/ipns/", "");