File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
packages/routes-gen-remix Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11# @routes-gen/remix
22
3+ ## 0.3.2
4+
5+ ### Patch Changes
6+
7+ - Fixed Remix driver double slash regex.
8+
39## 0.3.1
410
511### Patch Changes
Original file line number Diff line number Diff line change 11{
22 "name" : " @routes-gen/remix" ,
3- "version" : " 0.3.1 " ,
3+ "version" : " 0.3.2 " ,
44 "main" : " dist/index.js" ,
55 "types" : " dist/index.d.ts" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export const routes: Driver["routes"] = async () =>
4343 path : ( path . endsWith ( "/" ) && path !== "/"
4444 ? path . slice ( 0 , - 1 )
4545 : path
46- ) . replace ( / \/ \/ / g, "/" ) ,
46+ ) . replace ( / \/ \/ + / g, '/' ) ,
4747 } ,
4848 ...( item . children ? parseRoutes ( item . children , `${ path } /` ) : [ ] ) ,
4949 ] ;
You can’t perform that action at this time.
0 commit comments