diff --git a/src/index.ts b/src/index.ts index 589b4a3..8123748 100644 --- a/src/index.ts +++ b/src/index.ts @@ -128,7 +128,7 @@ function handleRequest(ctx: AllowContext, matcherRoutes, send405 } = ctx - let { + const { url, method, routerPath = findUrlRoute(matcherRoutes, url) || ""