From b1b01623dc3f50e03925aa2ca2e4def74d5a9053 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sat, 27 Jun 2020 00:53:31 +0200 Subject: [PATCH] Improve DNS proof link --- assets/scripts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/scripts.js b/assets/scripts.js index 8e9a926..7e2b2df 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -224,7 +224,8 @@ async function verifyProof(url, fingerprint) { if (/^dns:/.test(url)) { output.type = "website"; output.display = url.replace(/dns:/, '').replace(/\?type=TXT/, ''); - output.proofUrlFetch = `https://dns.google.com/resolve?name=${output.display}&type=TXT`; + output.proofUrl = `https://dns.google.com/resolve?name=${output.display}&type=TXT`; + output.proofUrlFetch = output.proofUrl; output.url = `https://${output.display}`; try {