diff --git a/static/index.html b/static/index.html index 5701c57..c90d12a 100644 --- a/static/index.html +++ b/static/index.html @@ -233,7 +233,7 @@ URL:mailto:{{.CONTACT_PAGE_EMAIL}} END:VCARD `; document.getElementById('qr').value = qr; - document.getElementById('qr-a').href = URL.createObjectURL(new Blob([qr], { type: 'text/vcard' })); + document.getElementById('qr-a').href = `data:text/vcard;base64,${btoa(qr)}`;