mirror of
https://github.com/status-im/liquid-funding.git
synced 2025-02-17 05:46:24 +00:00
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…
x
Reference in New Issue
Block a user