Unverified Commit b32c1ea1 authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

fix typo in x-next-revalidate-tag-token header (#51432)

### 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
parent 8b507ce4
...@@ -147,7 +147,7 @@ export class IncrementalCache { ...@@ -147,7 +147,7 @@ export class IncrementalCache {
if ( if (
minimalMode && minimalMode &&
typeof requestHeaders['x-next-revalidated-tags'] === 'string' && typeof requestHeaders['x-next-revalidated-tags'] === 'string' &&
requestHeaders['x-next-revalidats-tag-token'] === requestHeaders['x-next-revalidate-tag-token'] ===
this.prerenderManifest?.preview?.previewModeId this.prerenderManifest?.preview?.previewModeId
) { ) {
revalidatedTags = requestHeaders['x-next-revalidated-tags'].split(',') revalidatedTags = requestHeaders['x-next-revalidated-tags'].split(',')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment