Skip to content

Commit 6d074a8

Browse files
committed
Update expressions.mdx
1 parent 4a4b0ca commit 6d074a8

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/web/docs/src/content/router/configuration/expressions.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,11 @@ useful for debugging and tracing requests.
9191

9292
### `.original_url`
9393

94-
This variable is only available in
95-
[dynamic routing expressions](./configuration/override_subgraph_urls). It holds the default URL for
96-
the current subgraph, as declared in your supergraph schema. Because the expression must return a
97-
URL, you should always provide a fallback using `.original_url` so that requests are routed
98-
somewhere when no condition matches. The configuration reference emphasises this by showing a
99-
pattern where the expression returns `.original_url` in the `else` branch.
94+
This variable is only available in [dynamic routing expressions](./override_subgraph_urls). It holds
95+
the default URL for the current subgraph, as declared in your supergraph schema. Because the
96+
expression must return a URL, you should always provide a fallback using `.original_url` so that
97+
requests are routed somewhere when no condition matches. The configuration reference emphasises this
98+
by showing a pattern where the expression returns `.original_url` in the `else` branch.
10099

101100
## Available functions
102101

0 commit comments

Comments
 (0)