pull/2762/head
yann300 2 years ago
parent 99791ce2a0
commit e23079d996
  1. 8
      apps/remix-ide/src/app/files/dgitProvider.js
  2. 2
      libs/remix-url-resolver/src/resolve.ts
  3. 2
      libs/remixd/src/origins.json

@ -28,10 +28,10 @@ class DGitProvider extends Plugin {
constructor () {
super(profile)
this.ipfsconfig = {
host: 'ipfs.remixproject.org',
host: 'jqgt.remixproject.org',
port: 443,
protocol: 'https',
ipfsurl: 'https://ipfs.remixproject.org/ipfs/'
ipfsurl: 'https://jqgt.remixproject.org/ipfs/'
}
this.globalIPFSConfig = {
host: 'ipfs.io',
@ -40,10 +40,10 @@ class DGitProvider extends Plugin {
ipfsurl: 'https://ipfs.io/ipfs/'
}
this.remixIPFS = {
host: 'ipfs.remixproject.org',
host: 'jqgt.remixproject.org',
port: 443,
protocol: 'https',
ipfsurl: 'https://ipfs.remixproject.org/ipfs/'
ipfsurl: 'https://jqgt.remixproject.org/ipfs/'
}
this.ipfsSources = [this.remixIPFS, this.globalIPFSConfig, this.ipfsconfig]
}

@ -113,7 +113,7 @@ export class RemixURLResolver {
url = url.replace(/^ipfs:\/\/?/, 'ipfs/')
// eslint-disable-next-line no-useless-catch
try {
const req = 'https://ipfs.remixproject.org/' + url
const req = 'https://jqgt.remixproject.org/' + url
// If you don't find greeter.sol on ipfs gateway use local
// const req = 'http://localhost:8080/' + url
const response: AxiosResponse = await axios.get(req, { transformResponse: [] })

@ -9,6 +9,6 @@
"package://a7df6d3c223593f3550b35e90d7b0b1f.mod",
"package://6fd22d6fe5549ad4c4d8fd3ca0b7816b.mod",
"https://ipfsgw.komputing.org",
"https://ipfs.remixproject.org"
"https://jqgt.remixproject.org"
]
}
Loading…
Cancel
Save