The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
perf: preconnect to API domain (#41057)
Kevin Grüneberg58cd8f17a564
diff --git a/apps/studio/pages/_app.tsx b/apps/studio/pages/_app.tsxindex 124028c19fd..9591ab05f26 100644--- a/apps/studio/pages/_app.tsx+++ b/apps/studio/pages/_app.tsx@@ -139,6 +139,14 @@ function CustomApp({ Component, pageProps }: AppPropsWithLayout) {__html: `:root{--font-custom:${customFont.style.fontFamily};--font-source-code-pro:${sourceCodePro.style.fontFamily};}`,}}/>+ {/* Speed up initial API loading times by preconnecting to domain */}+ {IS_PLATFORM && (+ <link+ rel="preconnect"+ href={new URL(API_URL).origin}+ crossOrigin="anonymous"+ />+ )}</Head><MetaFaviconsPagesRouter applicationName="Supabase Studio" includeManifest /><TooltipProvider delayDuration={0}>