From 93303b6b39243fc8e8dacded45a57f109e07aaf3 Mon Sep 17 00:00:00 2001 From: Arfa Ahmed Date: Sat, 2 Nov 2024 20:36:18 +0500 Subject: [PATCH] docs(middleware): update matcher section link in middleware docs - Replaced the incorrect link to 'layouts-and-templates' with the correct link to 'pages' in the Matcher section of the Middleware documentation. The sentence mentions 'Pages' but the link was incorrect. --- .../01-building-your-application/01-routing/14-middleware.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-app/01-building-your-application/01-routing/14-middleware.mdx b/docs/02-app/01-building-your-application/01-routing/14-middleware.mdx index 5470e2dbe79b7..7bb4ff2c08d59 100644 --- a/docs/02-app/01-building-your-application/01-routing/14-middleware.mdx +++ b/docs/02-app/01-building-your-application/01-routing/14-middleware.mdx @@ -215,7 +215,7 @@ The `NextResponse` API allows you to: To produce a response from Middleware, you can: -1. `rewrite` to a route ([Page](/docs/app/building-your-application/routing/layouts-and-templates) or [Route Handler](/docs/app/building-your-application/routing/route-handlers)) that produces a response +1. `rewrite` to a route ([Page](/docs/app/building-your-application/routing/pages) or [Route Handler](/docs/app/building-your-application/routing/route-handlers)) that produces a response 2. return a `NextResponse` directly. See [Producing a Response](#producing-a-response)