Skip to content

Commit 06c761f

Browse files
Merge pull request #519 from gadget-inc/fix-trailing-slashes
Fixed issue with trailing slashes breaking Router
2 parents c38ddcb + 4521d41 commit 06c761f

File tree

1 file changed

+1
-1
lines changed
  • packages/fastify-renderer/src/client/react

1 file changed

+1
-1
lines changed

packages/fastify-renderer/src/client/react/matcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { MatcherFn } from 'wouter'
99
*/
1010
const convertPathToRegexp = (path: string) => {
1111
const keys: Key[] = []
12-
const regexp = pathToRegexp(path, keys, { strict: true })
12+
const regexp = pathToRegexp(path, keys)
1313
return { keys, regexp }
1414
}
1515

0 commit comments

Comments
 (0)