The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: switch default staging / local provider (#36824)
Kang Minga2aa492e8492
diff --git a/apps/studio/lib/constants/infrastructure.ts b/apps/studio/lib/constants/infrastructure.tsindex cfd69d3244e..78a76521753 100644--- a/apps/studio/lib/constants/infrastructure.ts+++ b/apps/studio/lib/constants/infrastructure.ts@@ -25,7 +25,11 @@ export const PRICING_TIER_PRODUCT_IDS = {ENTERPRISE: 'tier_enterprise',}-export const DEFAULT_PROVIDER: CloudProvider = 'AWS'+export const DEFAULT_PROVIDER: CloudProvider =+ process.env.NEXT_PUBLIC_ENVIRONMENT &&+ ['staging', 'preview'].includes(process.env.NEXT_PUBLIC_ENVIRONMENT)+ ? 'AWS_K8S'+ : 'AWS'export const PROVIDERS = {FLY: {