mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 10:11:35 +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,
|
httpOnly: true,
|
||||||
sameSite: 'Lax',
|
sameSite: 'Lax',
|
||||||
maxAge: 150,
|
maxAge: 150,
|
||||||
// secure: process.env.NODE_ENV === 'production'
|
secure: process.env.NODE_ENV === 'production',
|
||||||
});
|
});
|
||||||
|
|
||||||
debug.log('Redirecting to (from param):', redirectTo);
|
debug.log('Redirecting to (from param):', redirectTo);
|
||||||
|
|||||||
Reference in New Issue
Block a user