From ae9ce8f27549a9a1490f271ce369a68c18a2240b Mon Sep 17 00:00:00 2001 From: Mohammed Date: Fri, 11 Jul 2025 22:22:22 +0300 Subject: [PATCH] fix nextJS matcher link --- docs/pages/getting-started/session-management/protecting.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/getting-started/session-management/protecting.mdx b/docs/pages/getting-started/session-management/protecting.mdx index 67de091276..89e944e707 100644 --- a/docs/pages/getting-started/session-management/protecting.mdx +++ b/docs/pages/getting-started/session-management/protecting.mdx @@ -284,7 +284,7 @@ export const config = { } ``` -Middleware will protect pages as defined by the `matcher` config export. For more details about the matcher, check out the [Next.js docs](https://nextjs.org/docs/pages/building-your-application/routing/middleware#matching-paths). +Middleware will protect pages as defined by the `matcher` config export. For more details about the matcher, check out the [Next.js docs](https://nextjs.org/docs/app/api-reference/file-conventions/middleware#matcher). You should not rely on middleware exclusively for authorization. Always ensure