We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7dc4df commit 059fb86Copy full SHA for 059fb86
packages/next/src/client/components/router-reducer/fetch-server-response.ts
@@ -185,7 +185,7 @@ export async function fetchServerResponse(
185
const canonicalUrl = res.redirected ? responseUrl : undefined
186
187
const contentType = res.headers.get('content-type') || ''
188
- const interception = res.headers.get('vary') === NEXT_URL
+ const interception = !!res.headers.get('vary')?.includes(NEXT_URL)
189
const postponed = !!res.headers.get(NEXT_DID_POSTPONE_HEADER)
190
const staleTimeHeader = res.headers.get(NEXT_ROUTER_STALE_TIME_HEADER)
191
const staleTime =
0 commit comments