Skip to content

Commit 266b6e3

Browse files
authored
Merge pull request #17 from Rastraponovich/patch-2
Update catch-all.md
2 parents 6e4cbc8 + d3d07d7 commit 266b6e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/examples/catch-all.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ We want to catch all `/foo/bar`, `/foo/bar/baz` and `/foo/bar/baz/test` paths.
88

99
## Solution
1010

11-
Since we use [`path-to-regexp`](https://github.com/pillarjs/path-to-regexp) for path matching, this route won't differ from others:
11+
Since we use [`path-to-regexp`](https://github.com/pillarjs/path-to-regexp/tree/v6.2.0) for path matching, this route won't differ from others:
12+
* important: path-to-regexp version 6.2.0. newest version has different api
1213

1314
```ts
1415
import { createRoute, createHistoryRouter } from 'atomic-router'

0 commit comments

Comments
 (0)