Skip to content

Commit

Permalink
fixed build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kwhitley committed Mar 28, 2024
1 parent 47ea498 commit 6aeb2aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/IttyRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const IttyRouter = <
.replace(/\./g, '\\.') // dot in path
.replace(/(\/?)\*/g, '($1.*)?') // wildcard
}/*$`),
// @ts-ignore
handlers, // embed handlers
path, // embed clean route path
]
Expand Down
1 change: 1 addition & 0 deletions src/Router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const Router = <
.replace(/\./g, '\\.') // dot in path
.replace(/(\/?)\*/g, '($1.*)?') // wildcard
}/*$`),
// @ts-ignore
handlers, // embed handlers
path, // embed clean route path
]
Expand Down

0 comments on commit 6aeb2aa

Please sign in to comment.