Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: use dedicated nimbus env var (#39763)

Alaister Young9af17e8d0baf
diff --git a/apps/studio/lib/github.ts b/apps/studio/lib/github.ts
index 454fa222ee7..b78986c52e3 100644
--- a/apps/studio/lib/github.ts
+++ b/apps/studio/lib/github.ts
@@ -2,7 +2,7 @@ import { LOCAL_STORAGE_KEYS } from 'common'
import { makeRandomString } from './helpers'
const GITHUB_INTEGRATION_APP_NAME =
- process.env.NIMBUS_PROD_PROJECTS_URL !== undefined
+ process.env.NEXT_PUBLIC_IS_NIMBUS !== undefined
? 'supabase-snap'
: process.env.NEXT_PUBLIC_ENVIRONMENT === 'prod'
? `supabase`
@@ -11,7 +11,7 @@ const GITHUB_INTEGRATION_APP_NAME =
: `supabase-local-testing`
const GITHUB_INTEGRATION_CLIENT_ID =
- process.env.NIMBUS_PROD_PROJECTS_URL !== undefined
+ process.env.NEXT_PUBLIC_IS_NIMBUS !== undefined
? 'Iv23li2pAiqDGgaSrP8q'
: process.env.NEXT_PUBLIC_ENVIRONMENT === 'prod'
? `Iv1.b91a6d8eaa272168`
diff --git a/turbo.json b/turbo.json
index c6d76db1c1f..714bbf2161e 100644
--- a/turbo.json
+++ b/turbo.json
@@ -118,7 +118,7 @@
"AI_PRO_MODEL",
"AI_NORMAL_MODEL",
"SUPPORT_SUPABASE_SECRET_KEY",
- "NIMBUS_PROD_PROJECTS_URL"
+ "NEXT_PUBLIC_IS_NIMBUS"
],
"passThroughEnv": ["CURRENT_CLI_VERSION", "VERCEL_GIT_COMMIT_SHA"],
"outputs": [".next/**", "!.next/cache/**"]