File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -281,16 +281,16 @@ export class ISRHandler {
281
281
282
282
const variant = this . getVariant ( req ) ;
283
283
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 ) ;
294
294
}
295
295
296
296
protected getVariant ( req : Request ) : RenderVariant | null {
You can’t perform that action at this time.
0 commit comments