fix(10): 修正前端cookie写入的问题,指定same-site,防止浏览器阻止cookie的写入

This commit is contained in:
2025-10-03 09:53:51 +08:00
parent ecda6aa4a1
commit 436b627f3e
3 changed files with 11 additions and 1 deletions
+5 -1
View File
@@ -11,4 +11,8 @@ server:
cors:
allowed-origins:
- http://localhost:5158
- http://192.168.123.199:5158
- http://192.168.123.199:5158
sa-token:
cookie:
secure: false