Thanks to visit codestin.com Credit goes to github.com
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 6dc9756 commit bca4374Copy full SHA for bca4374
libs/isr/server/src/cache-regeneration.ts
@@ -62,7 +62,7 @@ export class CacheRegeneration {
62
// if there are errors, don't add the page to cache
63
if (errors?.length && this.isrConfig.skipCachingOnHttpError) {
64
// remove url from urlsOnHold because we want to try to regenerate it again
65
- this.urlsOnHold = this.urlsOnHold.filter((x) => x !== url);
+ this.urlsOnHold = this.urlsOnHold.filter((x) => x !== cacheKey);
66
logger.log(
67
'💥 ERROR: Url: ' + cacheKey + ' was not regenerated!',
68
errors,
0 commit comments