mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
Improve DNS proof link
This commit is contained in:
parent
20818ac566
commit
b1b01623dc
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue