Skip to content

Commit

Permalink
Fix: Typo in routing.md (#2836)
Browse files Browse the repository at this point in the history
fix routing.md typo
  • Loading branch information
linogomez committed Feb 8, 2024
1 parent d305cc4 commit 847a4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/routing.md
Expand Up @@ -145,7 +145,7 @@ We have adapted the routing strongly to the express routing, but currently witho
Route constraints execute when a match has occurred to the incoming URL and the URL path is tokenized into route values by parameters. The feature was intorduced in `v2.37.0` and inspired by [.NET Core](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/routing?view=aspnetcore-6.0#route-constraints).

:::caution
Constraints aren't validation for parameters. If constraint aren't valid for parameter value, Fiber returns **404 handler**.
Constraints aren't validation for parameters. If constraints aren't valid for a parameter value, Fiber returns **404 handler**.
:::

| Constraint | Example | Example matches |
Expand Down

0 comments on commit 847a4a9

Please sign in to comment.