fic: dont prefix ipfs
This commit is contained in:
parent
6e81110b62
commit
46d1336079
|
@ -25,7 +25,7 @@ export default class IPFSProvider implements ContentProvider {
|
||||||
if (ipnsPath(cid)) {
|
if (ipnsPath(cid)) {
|
||||||
const cidHash = cid.replace("/ipns/", "");
|
const cidHash = cid.replace("/ipns/", "");
|
||||||
cid = await this._client.ipns(cidHash);
|
cid = await this._client.ipns(cidHash);
|
||||||
cid = `/ipfs/${cid}`;
|
// cid = `/ipfs/${cid}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ipfsPath(cid)) {
|
if (ipfsPath(cid)) {
|
||||||
|
|
Loading…
Reference in New Issue