aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/scripts/lib/ipfsContent.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/ipfsContent.js b/app/scripts/lib/ipfsContent.js
index bf04c854b..46131b266 100644
--- a/app/scripts/lib/ipfsContent.js
+++ b/app/scripts/lib/ipfsContent.js
@@ -14,13 +14,13 @@ module.exports = function (provider) {
resolver.resolve(name, provider).then(ipfsHash => {
clearTimeout(clearTime)
- let url = 'https://gateway.ipfs.io/ipfs/' + ipfsHash
+ let url = 'https://ipfs.infura.io/ipfs/' + ipfsHash
return fetch(url, { method: 'HEAD' }).then(response => response.status).then(statusCode => {
if (statusCode !== 200) return extension.tabs.update(tab.id, { url: '404.html' })
extension.tabs.update(tab.id, { url: url })
})
.catch(err => {
- url = 'https://gateway.ipfs.io/ipfs/' + ipfsHash
+ url = 'https://ipfs.infura.io/ipfs/' + ipfsHash
extension.tabs.update(tab.id, {url: url})
return err
})