File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ const matcherBlock: Block<
160160 result ??= isMatchFromCookie ?? matcherFunc ( ctx ) ;
161161 if ( result !== isMatchFromCookie ) {
162162 const date = new Date ( ) ;
163- date . setTime ( date . getTime ( ) + ( 30 * 24 * 60 * 60 * 1000 ) ) ; // 1 month
163+ date . setTime ( date . getTime ( ) + ( 5 * 24 * 60 * 60 * 1000 ) ) ; // 5 days
164164 setCookie ( respHeaders , {
165165 name : cookieName ,
166166 value : cookieValue . build ( uniqueId , result ) ,
Original file line number Diff line number Diff line change @@ -420,7 +420,7 @@ export const middlewareFor = <TAppManifest extends AppManifest = AppManifest>(
420420
421421 if ( hasFlags && cookieSegment !== value ) {
422422 const date = new Date ( ) ;
423- date . setTime ( date . getTime ( ) + ( 30 * 24 * 60 * 60 * 1000 ) ) ; // 1 month
423+ date . setTime ( date . getTime ( ) + ( 5 * 24 * 60 * 60 * 1000 ) ) ; // 5 days
424424 setCookie ( newHeaders , {
425425 name : DECO_SEGMENT ,
426426 value,
You can’t perform that action at this time.
0 commit comments