Specify vcard mime type

main
Bob Mottram 2024-08-14 11:04:55 +01:00
parent b7380f11ff
commit f4490f67a4
1 changed files with 1 additions and 0 deletions

View File

@ -785,6 +785,7 @@ def _get_profile_header(base_dir: str, http_prefix: str, nickname: str,
# show vcard download link
html_str += \
' <a href="/users/' + nickname + '.vcf" ' + \
'type="text/vcard" ' + \
'download="contact_' + nickname + '@' + domain_full + \
'.vcf" tabindex="1" class="imageAnchor">' + \
'<img class="vcard" src="/icons/vcard.png" ' + \