Skip to content

Commit

Permalink
fix typo in x-next-revalidate-tag-token header (#51432)
Browse files Browse the repository at this point in the history
### What?
While looking into some things related to the FileSystemCache, I came
across this typo introduced in #49227. Not sure how it's currently
manifesting but figured it'd be worth correcting
  • Loading branch information
ztanner committed Jun 20, 2023
1 parent 8b507ce commit b32c1ea
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
Original file line number Diff line number Diff line change
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 b32c1ea

Please sign in to comment.