Skip to content

Commit

Permalink
bugfix(): fix fastify adapter query parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Mar 9, 2019
1 parent d8c7ba3 commit cec89d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/adapters/fastify-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class FastifyAdapter {
? req.originalUrl.slice(0, queryParamsIndex)
: req.originalUrl;

if (!re.exec(pathname + '/')) {
if (!re.exec(pathname + '/') && normalizedPath) {
return next();
}
if (
Expand Down

0 comments on commit cec89d2

Please sign in to comment.