Skip to content

Commit

Permalink
update email page
Browse files Browse the repository at this point in the history
Signed-off-by: x-t <xdasht@pm.me>
  • Loading branch information
x-t committed Apr 10, 2024
1 parent d91ca0e commit d8a245c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/root/email.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <H1>my email</H1>
let el = document.createElement('a');
el.setAttribute('href', 'data:text/plain;charset=utf-8,'
+ encodeURIComponent(document.getElementById('pgpKey').innerText));
el.setAttribute('download', 'publickey.xdasht@pm.me.asc');
el.setAttribute('download', 'publickey.asc');
el.style.display = 'none';
document.body.appendChild(el);
el.click();
Expand Down

0 comments on commit d8a245c

Please sign in to comment.