From 99c5f6b102b149a77efc80765245e34c58b2e737 Mon Sep 17 00:00:00 2001 From: "hyperlint-ai[bot]" <154288675+hyperlint-ai[bot]@users.noreply.github.com> Date: Sat, 1 Mar 2025 10:03:07 +0000 Subject: [PATCH 1/2] Fix issue: WorkspaceTaskSubType.BROKEN_LINK --- src/content/docs/pages/functions/routing.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/pages/functions/routing.mdx b/src/content/docs/pages/functions/routing.mdx index 2abd89390a2a7f..c2c186da81f6e1 100644 --- a/src/content/docs/pages/functions/routing.mdx +++ b/src/content/docs/pages/functions/routing.mdx @@ -100,7 +100,7 @@ The following requests will match the following files: | /users/special | /users/special.js | | /users/daniel/xyz/123 | /users/\[\[catchall]].js | -The URL segment(s) that match the placeholder (`[user]`) will be available in the request [`context`](/pages/functions/api-reference/#eventcontext) object. The [`context.params`](/pages/functions/api-reference/#params) object can be used to find the matched value for a given filename placeholder. +The URL segment(s) that match the placeholder (`[user]`) will be available in the request [`context`](/pages/functions/api-reference/#eventcontext) object. The [`context.params`](/pages/functions/api-reference/) object can be used to find the matched value for a given filename placeholder. For files which match a single URL segment (use a single set of brackets), the values are returned as a string: From 2057410d97618835e93f3b5774aaa9b8153e0487 Mon Sep 17 00:00:00 2001 From: Daniel Walsh Date: Sun, 2 Mar 2025 02:13:50 +0000 Subject: [PATCH 2/2] Update src/content/docs/pages/functions/routing.mdx --- src/content/docs/pages/functions/routing.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/pages/functions/routing.mdx b/src/content/docs/pages/functions/routing.mdx index c2c186da81f6e1..10d11040e07622 100644 --- a/src/content/docs/pages/functions/routing.mdx +++ b/src/content/docs/pages/functions/routing.mdx @@ -100,7 +100,7 @@ The following requests will match the following files: | /users/special | /users/special.js | | /users/daniel/xyz/123 | /users/\[\[catchall]].js | -The URL segment(s) that match the placeholder (`[user]`) will be available in the request [`context`](/pages/functions/api-reference/#eventcontext) object. The [`context.params`](/pages/functions/api-reference/) object can be used to find the matched value for a given filename placeholder. +The URL segment(s) that match the placeholder (`[user]`) will be available in the request [`context`](/pages/functions/api-reference/#eventcontext) object. The [`context.params`](/pages/functions/api-reference/#eventcontext) object can be used to find the matched value for a given filename placeholder. For files which match a single URL segment (use a single set of brackets), the values are returned as a string: