From 2fcc387721a8e53f9a9a911918f0db4d32fe7284 Mon Sep 17 00:00:00 2001 From: jiang-xiaowen-psh Date: Thu, 31 Aug 2023 15:29:32 +0900 Subject: [PATCH 1/2] fix: route not found happens when access the confirm link --- pages/account/verify-email.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/account/verify-email.vue b/pages/account/verify-email.vue index d5e79e6..ff974b3 100644 --- a/pages/account/verify-email.vue +++ b/pages/account/verify-email.vue @@ -10,7 +10,7 @@ const status = ref('') const verifyEmail = async () => { verifying.value = true - const { data, error } = await useFetch(`/api/account/registration/verify-email/`, { + const { data, error } = await useFetch(`/api/account/verify-email/`, { method: 'POST', body: JSON.stringify({ key: route.params.token From e9febf59a56bef6e33e47aa5fc80e6d067fc92df Mon Sep 17 00:00:00 2001 From: jiang-xiaowen-psh Date: Fri, 1 Sep 2023 12:14:03 +0900 Subject: [PATCH 2/2] fix: page not found when click the "Sign in" button on email verify page --- pages/account/verify-email.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/account/verify-email.vue b/pages/account/verify-email.vue index ff974b3..27a1176 100644 --- a/pages/account/verify-email.vue +++ b/pages/account/verify-email.vue @@ -68,7 +68,7 @@ onNuxtReady(() => { Sign in