Skip to content

Commit 18cdfde

Browse files
authored
docs: update links of path-to-regexp to 6.x (#707)
1 parent 71687ed commit 18cdfde

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -795,11 +795,11 @@ await app.listen({ port: 8000 });
795795
```
796796

797797
A route passed is converted to a regular expression using
798-
[path-to-regexp](https://github.com/pillarjs/path-to-regexp), which means
799-
parameters expressed in the pattern will be converted. `path-to-regexp` has
800-
advanced usage which can create complex patterns which can be used for matching.
801-
Check out the
802-
[documentation for that library](https://github.com/pillarjs/path-to-regexp#parameters)
798+
[path-to-regexp](https://github.com/pillarjs/path-to-regexp/tree/6.x), which
799+
means parameters expressed in the pattern will be converted. `path-to-regexp`
800+
has advanced usage which can create complex patterns which can be used for
801+
matching. Check out the
802+
[documentation for that library](https://github.com/pillarjs/path-to-regexp/tree/6.x#parameters)
803803
if you have advanced use cases.
804804

805805
In most cases, the type of `context.params` is automatically inferred from the

0 commit comments

Comments
 (0)