Update delete link

pull/16/head
ClaraCrazy 2024-09-28 00:31:44 +02:00
parent 98769782cc
commit 77a1710954
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ router.get(
) )
router.get( router.get(
'^/:address/delete/:uid([0-9]+$)', '^/:address/:uid([0-9]+$)/delete',
sanitizeAddress, sanitizeAddress,
async (req, res, next) => { async (req, res, next) => {
try { try {

View File

@ -6,7 +6,7 @@
<a href="/inbox/{{ address }}"> <a href="/inbox/{{ address }}">
← Return to inbox</a> ← Return to inbox</a>
<br> <br>
<a href="/inbox/{{ address }}/delete/{{ uid }}"> <a href="/inbox/{{ address }}/{{ uid }}/delete">
Delete Email</a> Delete Email</a>
<br> <br>
<a href="/logout"> <a href="/logout">