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(
'^/:address/delete/:uid([0-9]+$)',
'^/:address/:uid([0-9]+$)/delete',
sanitizeAddress,
async (req, res, next) => {
try {

View File

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