From 68fc47f49e193eaf98559db1e4f4013331c63d7b Mon Sep 17 00:00:00 2001 From: singharaj usai Date: Mon, 7 Oct 2024 01:15:07 -0400 Subject: [PATCH] email verified auth page reroute --- server/functions/api/routes/pages.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/functions/api/routes/pages.js b/server/functions/api/routes/pages.js index f0da063..2028dff 100644 --- a/server/functions/api/routes/pages.js +++ b/server/functions/api/routes/pages.js @@ -15,6 +15,10 @@ const sendHtmlFile = (res, relativePath) => { // Authentication pages router.get("/login", (req, res) => sendHtmlFile(res, "pages/authentication/login.html")); router.get("/register", (req, res) => sendHtmlFile(res, "pages/authentication/register.html")); +router.get("/auth/verify-email/:token", (req, res) => sendHtmlFile(res, "pages/authentication/email-verified.html")); + + + // User-related pages router.get("/users", (req, res) => sendHtmlFile(res, "pages/users/users.html"));