Skip to content

Commit

Permalink
add docs for dynamic routing
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneWerner87 committed Aug 27, 2023
1 parent b84f8a6 commit 57aef09
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/guide/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,13 @@ app.Get("/", func(c *fiber.Ctx) error {

`Use` method path is a **mount**, or **prefix** path, and limits middleware to only apply to any paths requested that begin with it.

### Constraints on Adding Routes Dynamically

:::warning
Adding routes dynamically after the application has started is not supported due to design and performance considerations. Make sure to define all your routes before the application starts.
:::


## Grouping

If you have many endpoints, you can organize your routes using `Group`.
Expand Down

0 comments on commit 57aef09

Please sign in to comment.