The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update apps/docs/pages/guides/auth/auth-helpers/nextjs-server-components.mdx
Terry Sutton0dcb4910599f
diff --git a/apps/docs/pages/guides/auth/auth-helpers/nextjs-server-components.mdx b/apps/docs/pages/guides/auth/auth-helpers/nextjs-server-components.mdxindex 815073394da..10fa7f73f31 100644--- a/apps/docs/pages/guides/auth/auth-helpers/nextjs-server-components.mdx+++ b/apps/docs/pages/guides/auth/auth-helpers/nextjs-server-components.mdx@@ -166,7 +166,7 @@ export const config = {<TabPanel id="ts" label="TypeScript">-Create a new file at `/pages/middleware.ts` and populate with the following:+Create a new file at `/middleware.ts` (a sibling of /pages) and populate with the following:```tsx title="middleware.ts"import { createMiddlewareSupabaseClient } from '@supabase/auth-helpers-nextjs'