always push to remix ipfs too

pull/1342/head
bunsenstraat 3 years ago committed by davidzagi93@gmail.com
parent 206c0d8e17
commit 6e9467fc64
  1. 3
      apps/remix-ide/src/app/files/dgitProvider.js

@ -122,6 +122,7 @@ class DGitProvider extends Plugin {
try {
remotes = await git.listRemotes({ ...await this.getGitConfig() })
} catch (e) {
console.log(e)
}
return remotes
}
@ -362,7 +363,7 @@ class DGitProvider extends Plugin {
data.append('pinataMetadata', metadata)
const url = 'https://api.pinata.cloud/pinning/pinFileToIPFS'
try {
const result = await axios
await axios
.post(url, data, {
maxBodyLength: 'Infinity',
headers: {

Loading…
Cancel
Save