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

Loading…
Cancel
Save