The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
use NEXT_PUBLIC_ENVIRONMENT variable
Alaister Young929f9ebf79d9
diff --git a/studio/next.config.js b/studio/next.config.jsindex 04bde116ea9..fd60e53fd46 100644--- a/studio/next.config.js+++ b/studio/next.config.js@@ -17,7 +17,7 @@ const path = require('path')const csp = ["frame-ancestors 'none';",// IS_PLATFORM- process.env.NEXT_PUBLIC_IS_PLATFORM === 'true' && process.env.NODE_ENV === 'production'+ process.env.NEXT_PUBLIC_IS_PLATFORM === 'true' && process.env.NEXT_PUBLIC_ENVIRONMENT === 'prod'? 'upgrade-insecure-requests;': '',]