From 7ffca75db0828fdd35d631ca77bab691020734b4 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sat, 18 Jul 2020 20:54:49 +0200 Subject: [PATCH] Fix XMPP proof url --- assets/scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/scripts.js b/assets/scripts.js index 94f5ac1..5f4ca44 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -537,9 +537,9 @@ async function verifyProof(url, fingerprint) { output.type = "xmpp"; match = url.match(/xmpp:(.*)@(.*)/); output.display = `${match[1]}@${match[2]}`; - output.proofUrlFetch = `https://xmpp-vcard.keyoxide.org/api/vcard/${output.display}/DESC`; + output.proofUrl = `https://xmpp-vcard.keyoxide.org/api/vcard/${output.display}/DESC`; try { - response = await fetch(output.proofUrlFetch); + response = await fetch(output.proofUrl); if (!response.ok) { throw new Error('Response failed: ' + response.status); }