From 2f756ed52bda3bbb6378cc4a23a381bf49b131bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=A3=E6=B8=A3120?= Date: Mon, 26 Feb 2024 11:34:55 +0800 Subject: [PATCH] fix(login): add base path --- src/pages/auth/login.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/auth/login.vue b/src/pages/auth/login.vue index e334579..f0ffd1e 100644 --- a/src/pages/auth/login.vue +++ b/src/pages/auth/login.vue @@ -15,7 +15,7 @@ const login = async () => { const { error } = await supabase.auth.signInWithOtp({ email: email.value, options: { - emailRedirectTo: new URL('/auth/confirm', location.href).toString() + emailRedirectTo: new URL('/toolbox/auth/confirm', location.href).toString() } })