mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 02:01:33 +10:00
chore: use cookie in production
This commit is contained in:
@ -29,7 +29,7 @@ export const appMiddleware = async (c: Context, next: Next) => {
|
||||
httpOnly: true,
|
||||
sameSite: 'Lax',
|
||||
maxAge: 150,
|
||||
// secure: process.env.NODE_ENV === 'production'
|
||||
secure: process.env.NODE_ENV === 'production',
|
||||
});
|
||||
|
||||
debug.log('Redirecting to (from param):', redirectTo);
|
||||
|
||||
Reference in New Issue
Block a user