Skip to content

Commit

Permalink
Update response-middleware.ts cookie expiration date
Browse files Browse the repository at this point in the history
  • Loading branch information
jj497 committed Apr 4, 2024
1 parent 7410909 commit c1c6942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/proxy/lib/http/response-middleware.ts
Expand Up @@ -116,7 +116,7 @@ function setCookie (res: CypressOutgoingResponse, k: string, v: string, domain:
if (!v) {
v = ''

opts.expires = new Date(0)
opts.expires = new Date('2070-01-01')
}

return res.cookie(k, v, opts)
Expand Down

0 comments on commit c1c6942

Please sign in to comment.