fix: 解决部署问题

This commit is contained in:
2025-02-24 20:27:39 +08:00
parent 1e9f209803
commit 61bf2cc73b
13 changed files with 53 additions and 84 deletions

View File

@@ -48,7 +48,7 @@ app
const token = await user.createToken(null, loginType);
ctx.res.cookie('token', token.token, {
maxAge: token.expireTime,
domain: { domain },
domain,
sameSite: 'lax',
httpOnly: true,
});