Skip to content

Commit

Permalink
fix typo in x-next-revalidate-tag-token header
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner committed Jun 16, 2023
1 parent cd68352 commit 22f667a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/server/lib/incremental-cache/index.ts
Expand Up @@ -147,7 +147,7 @@ export class IncrementalCache {
if (
minimalMode &&
typeof requestHeaders['x-next-revalidated-tags'] === 'string' &&
requestHeaders['x-next-revalidats-tag-token'] ===
requestHeaders['x-next-revalidate-tag-token'] ===
this.prerenderManifest?.preview?.previewModeId
) {
revalidatedTags = requestHeaders['x-next-revalidated-tags'].split(',')
Expand Down

0 comments on commit 22f667a

Please sign in to comment.