Skip to content

Commit

Permalink
Show if content advertised in DHT or IPNI
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Sep 19, 2024
1 parent 54cabb8 commit 121b9bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,7 @@ <h2 class="f4">What does it mean if I get an error?</h2>

if (respObj.ProviderRecordFromPeerInDHT === true || respObj.ProviderRecordFromPeerInIPNI === true) {
outText += "✅ Found multihash advertised in "
if (respObj.ProviderRecordFromPeerInDHT === true && respObj.ProviderRecordFromPeerInIPNI === true) {
outText += "DHT and IPNI\n"
} else if (respObj.ProviderRecordFromPeerInDHT === true) {
if (respObj.ProviderRecordFromPeerInDHT === true) {
outText += "DHT\n"
} else {
outText += "IPNI\n"
Expand Down

0 comments on commit 121b9bb

Please sign in to comment.