Skip to content

Commit

Permalink
chore: remove useless duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
BaffinLee committed Jun 2, 2023
1 parent 0f7da4c commit f8c7a4a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/next/src/server/next-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1531,10 +1531,6 @@ export default class NextNodeServer extends BaseServer {
}
}

if (match) {
addRequestMeta(req, '_nextMatch', match)
}

// Try to handle the given route with the configured handlers.
if (match) {
// Add the match to the request so we don't have to re-run the matcher
Expand Down

0 comments on commit f8c7a4a

Please sign in to comment.