We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2e2399 commit 6dd5f51Copy full SHA for 6dd5f51
app.js
@@ -27,7 +27,9 @@ function checkGateways (gateways) {
27
let checked = 0
28
gateways.forEach((gateway) => {
29
const gatewayAndHash = gateway.replace(':hash', hashToTest)
30
- fetch(gatewayAndHash)
+ // opt-out from gateway redirects done by browser extension
31
+ const testUrl = gatewayAndHash + '#x-ipfs-no-redirect'
32
+ fetch(testUrl)
33
.then(res => res.text())
34
.then((text) => {
35
const matched = text.trim() === hashString.trim()
0 commit comments