Skip to content

Commit 640d632

Browse files
committed
fix: redirectTo prop on supabase auth component
1 parent 407f330 commit 640d632

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/src/components/AuthForm.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ function AuthForm({ view }: Props) {
7272
}}
7373
redirectTo={
7474
view === 'forgotten_password'
75-
? 'https://e2b.dev/auth/update-password'
76-
: 'https://e2b.dev/dashboard'
75+
? `${process.env.NEXT_PUBLIC_BASE_URL}/auth/update-password`
76+
: `${process.env.NEXT_PUBLIC_BASE_URL}/dashboard`
7777
}
7878
/>
7979
</div>

0 commit comments

Comments
 (0)