Skip to content

Commit cec89d2

Browse files
bugfix(): fix fastify adapter query parameters
1 parent d8c7ba3 commit cec89d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/adapters/fastify-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class FastifyAdapter {
145145
? req.originalUrl.slice(0, queryParamsIndex)
146146
: req.originalUrl;
147147

148-
if (!re.exec(pathname + '/')) {
148+
if (!re.exec(pathname + '/') && normalizedPath) {
149149
return next();
150150
}
151151
if (

0 commit comments

Comments
 (0)