Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ab8d52

Browse files
committed
fix(isr): fix formatting
1 parent 17fc093 commit 3ab8d52

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

libs/isr/server/src/isr-handler.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -281,16 +281,16 @@ export class ISRHandler {
281281

282282
const variant = this.getVariant(req);
283283

284-
// Cache the rendered `html` for this request url to use for subsequent requests
285-
await this.cache.add(
286-
getCacheKey(req.url, this.config.allowedQueryParams, variant),
287-
finalHtml,
288-
{
289-
revalidate,
290-
buildId: this.config.buildId,
291-
},
292-
);
293-
return res.send(finalHtml);
284+
// Cache the rendered `html` for this request url to use for subsequent requests
285+
await this.cache.add(
286+
getCacheKey(req.url, this.config.allowedQueryParams, variant),
287+
finalHtml,
288+
{
289+
revalidate,
290+
buildId: this.config.buildId,
291+
},
292+
);
293+
return res.send(finalHtml);
294294
}
295295

296296
protected getVariant(req: Request): RenderVariant | null {

0 commit comments

Comments
 (0)