From aeb2d38ce3c9259ae5c930954e496f60eabc85bb Mon Sep 17 00:00:00 2001 From: Saatvik Arya Date: Tue, 21 Oct 2025 01:22:04 +0530 Subject: [PATCH] docs: support explicit .mdx URLs in llms.txt routes (#5425) --- docs/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/proxy.ts b/docs/proxy.ts index 5b28b67f5f..ac4185846f 100644 --- a/docs/proxy.ts +++ b/docs/proxy.ts @@ -16,5 +16,5 @@ export function proxy(request: NextRequest) { } export const config = { - matcher: "/docs/:path*", + matcher: "/docs/:path((?!.*\\.mdx$).*)*", };