Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix example so it works correctly

Lukas502d9d51c72a
diff --git a/apps/docs/pages/guides/auth/auth-helpers/nextjs.mdx b/apps/docs/pages/guides/auth/auth-helpers/nextjs.mdx
index 8f5d318c151..9985e50fb92 100644
--- a/apps/docs/pages/guides/auth/auth-helpers/nextjs.mdx
+++ b/apps/docs/pages/guides/auth/auth-helpers/nextjs.mdx
@@ -584,7 +584,7 @@ export async function middleware(req: NextRequest) {
}
export const config = {
- matcher: '/middleware-protected',
+ matcher: '/middleware-protected/:path*',
}
```