insecure cookie for now to fix smart sync

This commit is contained in:
Marco van Dijk 2023-05-04 10:31:09 +02:00
parent e5799a1abb
commit accdac875c

View File

@ -55,8 +55,8 @@ const { NODE_ENV: mode } = process.env;
resave: false, resave: false,
//cookie to send to users //cookie to send to users
cookie: { cookie: {
sameSite: true, sameSite: false,
secure: NODE_ENV === 'production', secure: false,
maxAge: parseInt(SESS_LIFETIME) maxAge: parseInt(SESS_LIFETIME)
} }
})); }));