Skip to content

Commit 96760ea

Browse files
authored
Merge pull request #244 from xiaowen581/main
fix: route not found when verify e-mail
2 parents 821c73f + e9febf5 commit 96760ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/account/verify-email.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const status = ref('')
1010
1111
const verifyEmail = async () => {
1212
verifying.value = true
13-
const { data, error } = await useFetch(`/api/account/registration/verify-email/`, {
13+
const { data, error } = await useFetch(`/api/account/verify-email/`, {
1414
method: 'POST',
1515
body: JSON.stringify({
1616
key: route.params.token
@@ -68,7 +68,7 @@ onNuxtReady(() => {
6868
<v-btn
6969
color="primary"
7070
variant="text"
71-
@click="navigateTo('/account/login')"
71+
@click="navigateTo('/account/signin')"
7272
>
7373
Sign in
7474
</v-btn>

0 commit comments

Comments
 (0)