Skip to content

Commit

Permalink
Update docs/1.guide/2.routing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Mar 20, 2024
1 parent 0ef022c commit 0e6b788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1.guide/2.routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ middleware/
3.... <-- Third
```
::note
Remember that file names are sorted as strings, thus for example if you have 3 files `1.filename.ts`, `2.filename.ts` and `10.filename.ts`, the `10.filename.ts` will come after the `1.filename.ts`. To avoid this, prefix `1-9` with a `0`.
Remember that file names are sorted as strings, thus for example if you have 3 files `1.filename.ts`, `2.filename.ts` and `10.filename.ts`, the `10.filename.ts` will come after the `1.filename.ts`. To avoid this, prefix `1-9` with a `0` like `01`, if you have more than 10 middleware in the same directory.
::

### Request filtering
Expand Down

0 comments on commit 0e6b788

Please sign in to comment.