From 77a1710954b968caf98e2816add2cb90136653ab Mon Sep 17 00:00:00 2001 From: ClaraCrazy Date: Sat, 28 Sep 2024 00:31:44 +0200 Subject: [PATCH] Update delete link --- infrastructure/web/routes/inbox.js | 2 +- infrastructure/web/views/mail.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/web/routes/inbox.js b/infrastructure/web/routes/inbox.js index af03255..1e02b73 100644 --- a/infrastructure/web/routes/inbox.js +++ b/infrastructure/web/routes/inbox.js @@ -62,7 +62,7 @@ router.get( ) router.get( - '^/:address/delete/:uid([0-9]+$)', + '^/:address/:uid([0-9]+$)/delete', sanitizeAddress, async (req, res, next) => { try { diff --git a/infrastructure/web/views/mail.twig b/infrastructure/web/views/mail.twig index 446fbe8..db72c06 100644 --- a/infrastructure/web/views/mail.twig +++ b/infrastructure/web/views/mail.twig @@ -6,7 +6,7 @@ ← Return to inbox
- + Delete Email