disable progress on gateway uploads

There is currently an issue with the gateway
disabling until this issue is resolved
This commit is contained in:
Barry Gitarts 2019-06-04 13:00:19 -04:00 committed by Barry G
parent 4d33c5e252
commit 4406a8bd91
1 changed files with 1 additions and 4 deletions

View File

@ -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}`
}