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 3909663 commit 6cc8736Copy full SHA for 6cc8736
packages/cloudflare/src/api/overrides/incremental-cache/regional-cache.ts
@@ -87,7 +87,7 @@ class RegionalCache implements IncrementalCache {
87
get #hasAutomaticCachePurging() {
88
const cdnInvalidation = globalThis.openNextConfig.default?.override?.cdnInvalidation;
89
90
- return !(cdnInvalidation === undefined || cdnInvalidation === "dummy");
+ return cdnInvalidation !== undefined && cdnInvalidation !== "dummy";
91
}
92
93
async get<CacheType extends CacheEntryType = "cache">(
0 commit comments