The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Chore: Add matcher for middleware (#19770)
Jon Meyers316fd2b49c18
diff --git a/apps/docs/pages/guides/auth/server-side/creating-a-client.mdx b/apps/docs/pages/guides/auth/server-side/creating-a-client.mdxindex fdecf123a00..f23f3464b1f 100644--- a/apps/docs/pages/guides/auth/server-side/creating-a-client.mdx+++ b/apps/docs/pages/guides/auth/server-side/creating-a-client.mdx@@ -216,6 +216,19 @@ export async function middleware(request: NextRequest) {return response}++export const config = {+ matcher: [+ /*+ * Match all request paths except for the ones starting with:+ * - _next/static (static files)+ * - _next/image (image optimization files)+ * - favicon.ico (favicon file)+ * Feel free to modify this pattern to include more paths.+ */+ '/((?!_next/static|_next/image|favicon.ico).*)',+ ],+}```</TabPanel>