The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update constants.ts
globemediaofficial42cb1e680e10
diff --git a/studio/pages/api/constants.ts b/studio/pages/api/constants.tsindex ae150beae97..18dda1ac966 100644--- a/studio/pages/api/constants.ts+++ b/studio/pages/api/constants.ts@@ -1,4 +1,4 @@-const PUBLIC_URL = new URL(process.env.SUPABASE_PUBLIC_URL || 'http://localhost:8000')+const PUBLIC_URL = new URL(process.env.NEXT_PUBLIC_SUPABASE_PUBLIC_URL || 'http://localhost:8000')export const PROJECT_REST_URL = `${PUBLIC_URL.origin}/rest/v1/`export const PROJECT_ENDPOINT = PUBLIC_URL.host