Docker setup

This commit is contained in:
Ahmed Al-Taiar
2024-10-07 20:58:52 -04:00
parent 835d895fc0
commit 11783069a8
4 changed files with 20 additions and 13 deletions

View File

@ -218,8 +218,7 @@ ${domain}/reset-password?resetToken=${resetToken}
Path: '/',
SameSite: isProduction ? 'None' : 'Strict',
Secure: isProduction,
Domain: isProduction ? 'localhost' : 'localhost',
// Domain: isProduction ? process.env.DOMAIN : 'localhost',
Domain: isProduction ? process.env.DOMAIN : 'localhost',
},
name: cookieName,
},