Skip to content

Commit

Permalink
lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Dec 18, 2024
1 parent c2a77f1 commit bab0894
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/next/src/shared/lib/router/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,9 @@ function fetchNextData({
{} as HeadersInit,
isPrefetch ? { purpose: 'prefetch' } : {},
isPrefetch && hasMiddleware ? { 'x-middleware-prefetch': '1' } : {},
process.env.NEXT_DEPLOYMENT_ID ? { 'x-deployment-id': process.env.NEXT_DEPLOYMENT_ID } : {}
process.env.NEXT_DEPLOYMENT_ID
? { 'x-deployment-id': process.env.NEXT_DEPLOYMENT_ID }
: {}
),
method: params?.method ?? 'GET',
})
Expand Down

0 comments on commit bab0894

Please sign in to comment.