mirror of
https://github.com/fluencelabs/dweb-transports
synced 2025-04-25 06:42:17 +00:00
IPFS - handle change in API catReadableStream is on ipfs now, not ipfs.files
This commit is contained in:
parent
1ecc34bba7
commit
c2af9e6864
@ -461,7 +461,7 @@ class TransportIPFS extends Transport {
|
||||
//let fakehash="QmedXJYwvNSJFRMVFuJt7BfCMcJwPoqJgqN3U2MYxHET5a"
|
||||
//console.log("XXX@IPFS.p_f_createReadStream faking call to",multihash, "with", fakehash)
|
||||
//multihash=fakehash;
|
||||
stream = self.ipfs.files.catReadableStream(multihash, {
|
||||
stream = self.ipfs.catReadableStream(multihash, {
|
||||
offset: start,
|
||||
length: end && end - start
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user