The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
remove slash
Jonathan Summers-Muire6ab4c211720
diff --git a/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx b/studio/components/interfaces/SignIn/ForgotPasswordForm.tsxindex 7850576e4b7..f0a0b1ee79d 100644--- a/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx+++ b/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx@@ -14,6 +14,7 @@ const forgotPasswordSchema = object({const ForgotPasswordForm = () => {const { ui } = useStore()const router = useRouter()+ const { basePath } = routerconst [captchaToken, setCaptchaToken] = useState<string | null>(null)const captchaRef = useRef<HCaptcha>(null)@@ -35,7 +36,7 @@ const ForgotPasswordForm = () => {hcaptchaToken: token ?? undefined,redirectTo: `${process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'- ? process.env.NEXT_PUBLIC_VERCEL_URL + (router.basePath && `/${router.basePath}`)+ ? process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `/${basePath}`): process.env.NEXT_PUBLIC_SITE_URL}/reset-password`,})diff --git a/studio/components/interfaces/SignIn/SignInSSOForm.tsx b/studio/components/interfaces/SignIn/SignInSSOForm.tsxindex 138ee8b56b4..e5211c6e2cb 100644--- a/studio/components/interfaces/SignIn/SignInSSOForm.tsx+++ b/studio/components/interfaces/SignIn/SignInSSOForm.tsx@@ -37,7 +37,7 @@ const SignInSSOForm = () => {captchaToken: token ?? undefined,redirectTo: `${process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'- ? process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `/${basePath}`)+ ? process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `${basePath}`): process.env.NEXT_PUBLIC_SITE_URL}${getReturnToPath()}`,},diff --git a/studio/components/interfaces/SignIn/SignInWithGitHub.tsx b/studio/components/interfaces/SignIn/SignInWithGitHub.tsxindex d1f4eaa364f..7e1420574f1 100644--- a/studio/components/interfaces/SignIn/SignInWithGitHub.tsx+++ b/studio/components/interfaces/SignIn/SignInWithGitHub.tsx@@ -11,7 +11,7 @@ const SignInWithGitHub = () => {options: {redirectTo: `${process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'- ? process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `/${basePath}`)+ ? process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `${basePath}`): process.env.NEXT_PUBLIC_SITE_URL}${getReturnToPath()}`,},diff --git a/studio/components/interfaces/SignIn/SignUpForm.tsx b/studio/components/interfaces/SignIn/SignUpForm.tsxindex c9fd2a054b2..50d2e806abe 100644--- a/studio/components/interfaces/SignIn/SignUpForm.tsx+++ b/studio/components/interfaces/SignIn/SignUpForm.tsx@@ -41,7 +41,7 @@ const SignUpForm = () => {hcaptchaToken: token ?? null,redirectTo: `${process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'- ? process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `/${basePath}`)+ ? process.env.NEXT_PUBLIC_VERCEL_URL + (basePath && `${basePath}`): process.env.NEXT_PUBLIC_SITE_URL}/sign-in`,})