fix: update redirect opt-out symbol to final version
This was shipped with https://github.com/ipfs-shipyard/ipfs-companion/releases/tag/v2.4.0.10120merge-requests/2/merge
parent
6dd5f510df
commit
efd5dbfcf9
2
app.js
2
app.js
|
@ -28,7 +28,7 @@ function checkGateways (gateways) {
|
||||||
gateways.forEach((gateway) => {
|
gateways.forEach((gateway) => {
|
||||||
const gatewayAndHash = gateway.replace(':hash', hashToTest)
|
const gatewayAndHash = gateway.replace(':hash', hashToTest)
|
||||||
// opt-out from gateway redirects done by browser extension
|
// opt-out from gateway redirects done by browser extension
|
||||||
const testUrl = gatewayAndHash + '#x-ipfs-no-redirect'
|
const testUrl = gatewayAndHash + '#x-ipfs-companion-no-redirect'
|
||||||
fetch(testUrl)
|
fetch(testUrl)
|
||||||
.then(res => res.text())
|
.then(res => res.text())
|
||||||
.then((text) => {
|
.then((text) => {
|
||||||
|
|
Loading…
Reference in New Issue