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 @@ -421,7 +421,7 @@ export const middlewareFor = <TAppManifest extends AppManifest = AppManifest>(
421421
422422 if ( hasFlags && cookieSegment !== value ) {
423423 const date = new Date ( ) ;
424- date . setTime ( date . getTime ( ) + ( 30 * 24 * 60 * 60 * 1000 ) ) ; // 1 month
424+ date . setTime ( date . getTime ( ) + ( 5 * 24 * 60 * 60 * 1000 ) ) ; // 5 days
425425 setCookie ( newHeaders , {
426426 name : DECO_SEGMENT ,
427427 value,
You can’t perform that action at this time.
0 commit comments