diff --git a/apps/remix-ide/src/app/files/dgitProvider.js b/apps/remix-ide/src/app/files/dgitProvider.js index aa5b98dfa1..28f7fb2715 100644 --- a/apps/remix-ide/src/app/files/dgitProvider.js +++ b/apps/remix-ide/src/app/files/dgitProvider.js @@ -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] } diff --git a/libs/remix-url-resolver/src/resolve.ts b/libs/remix-url-resolver/src/resolve.ts index e2b77adddc..e3d9c4cf4b 100644 --- a/libs/remix-url-resolver/src/resolve.ts +++ b/libs/remix-url-resolver/src/resolve.ts @@ -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: [] }) diff --git a/libs/remixd/src/origins.json b/libs/remixd/src/origins.json index e0b8a5f283..3357227bca 100644 --- a/libs/remixd/src/origins.json +++ b/libs/remixd/src/origins.json @@ -9,6 +9,6 @@ "package://a7df6d3c223593f3550b35e90d7b0b1f.mod", "package://6fd22d6fe5549ad4c4d8fd3ca0b7816b.mod", "https://ipfsgw.komputing.org", - "https://ipfs.remixproject.org" + "https://jqgt.remixproject.org" ] } \ No newline at end of file