fix: use file cid not root cid
This commit is contained in:
parent
c0892c10c3
commit
9767e82751
|
@ -64,7 +64,7 @@ export default class S5Provider implements ContentProvider {
|
|||
headers["Content-Type"] = file.contentType as string;
|
||||
|
||||
return new Response(
|
||||
new Blob([(await this._client.cat(cid)) as Uint8Array]),
|
||||
new Blob([(await this._client.cat(file.cid)) as Uint8Array]),
|
||||
{
|
||||
headers,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue