The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
update github sign in redirect
Alaister Youngbd13da182804
diff --git a/package-lock.json b/package-lock.jsonindex df6410ad1d2..d0c39cfc425 100644--- a/package-lock.json+++ b/package-lock.json@@ -16,7 +16,6 @@],"dependencies": {"@mdx-js/react": "^2.1.1",- "html-to-image": "^1.10.1","mini-svg-data-uri": "^1.4.4"},"devDependencies": {diff --git a/studio/components/interfaces/Login/LoginWithGitHub.tsx b/studio/components/interfaces/Login/LoginWithGitHub.tsxindex e553da28b34..169627fd616 100644--- a/studio/components/interfaces/Login/LoginWithGitHub.tsx+++ b/studio/components/interfaces/Login/LoginWithGitHub.tsx@@ -7,7 +7,11 @@ const LoginWithGitHub = () => {const { error } = await auth.signInWithOAuth({provider: 'github',options: {- redirectTo: `${process.env.NEXT_PUBLIC_SITE_URL}/projects?auth=true`,+ redirectTo: `${+ process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'+ ? process.env.NEXT_PUBLIC_VERCEL_URL+ : process.env.NEXT_PUBLIC_SITE_URL+ }/projects?auth=true`,},})if (error) throw error