mirror of
https://github.com/vercel/commerce.git
synced 2025-07-26 03:31:23 +00:00
Ran prettier fix
This commit is contained in:
@@ -54,7 +54,7 @@ async function login({
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
cookie = cookie.replace('; Secure', '')
|
||||
// SameSite=none can't be set unless the cookie is Secure
|
||||
// bc seems to sometimes send back SameSite=None rather than none so make
|
||||
// bc seems to sometimes send back SameSite=None rather than none so make
|
||||
// this case insensitive
|
||||
cookie = cookie.replace(/; SameSite=none/gi, '; SameSite=lax')
|
||||
}
|
||||
|
Reference in New Issue
Block a user