Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Sep 10, 2024
1 parent af5e87e commit 344a726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/node/src/integrations/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,5 +285,5 @@ function _isClientRequest(req: ClientRequest | HTTPModuleRequestIncomingMessage)
*/
function isKnownPrefetchRequest(req: HTTPModuleRequestIncomingMessage): boolean {
// Currently only handles Next.js prefetch requests but may check other frameworks in the future.
return !!req.headers['next-router-prefetch'];
return req.headers['next-router-prefetch'] === '1';
}

0 comments on commit 344a726

Please sign in to comment.