disable progress on gateway uploads
There is currently an issue with the gateway disabling until this issue is resolved
This commit is contained in:
parent
4d33c5e252
commit
4406a8bd91
|
@ -86,10 +86,7 @@ export const uploadToIpfs = async files => {
|
|||
}
|
||||
|
||||
export const uploadToIpfsGateway = async files => {
|
||||
const options = {
|
||||
progress: (prog) => console.log(`received: ${prog}`)
|
||||
}
|
||||
const res = await ipfsHttp.add(files, options)
|
||||
const res = await ipfsHttp.add(files)
|
||||
return `ipfs/${res.slice(-1)[0].hash}`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue