mirror of
https://github.com/kremalicious/ipfs.git
synced 2024-11-22 01:37:07 +01:00
switch to CIDv1
This commit is contained in:
parent
67d62f3080
commit
c535bcac39
@ -30,6 +30,8 @@ export default function useIpfsApi(config: Options): IpfsApiValue {
|
|||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
wrapWithDirectory: true,
|
wrapWithDirectory: true,
|
||||||
|
cidVersion: 1,
|
||||||
|
hashAlg: 'sha2-256',
|
||||||
progress: (length: number) => formatBytes(length, 0)
|
progress: (length: number) => formatBytes(length, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user