We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134a59d commit 8db8355Copy full SHA for 8db8355
packages/next/src/server/lib/incremental-cache/index.ts
@@ -388,7 +388,7 @@ export class IncrementalCache implements IncrementalCacheType {
388
const headers =
389
typeof (init.headers || {}).keys === 'function'
390
? Object.fromEntries(init.headers as Headers)
391
- : Object.assign(init.headers || {}, {})
+ : Object.assign({}, init.headers)
392
393
if ('traceparent' in headers) delete headers['traceparent']
394
0 commit comments