Compare commits

..

2 Commits

Author SHA1 Message Date
x1ao4
45a8b2ae84
Merge pull request #42 from Cp0204/x-patch-cookie
解决和原版 Cookie 的冲突问题,避免双持用户相互挤掉登录状态
2025-07-14 18:22:44 +08:00
Cp0204
c83f20b414
解决和原版 Cookie 冲突,避免双持用户相互挤掉登录 2025-07-14 13:22:25 +08:00

View File

@ -270,7 +270,7 @@ def cleanup_expired_cache():
app = Flask(__name__)
app.config["APP_VERSION"] = get_app_ver()
app.secret_key = "ca943f6db6dd34823d36ab08d8d6f65d"
app.config["SESSION_COOKIE_NAME"] = "QUARK_AUTO_SAVE_SESSION"
app.config["SESSION_COOKIE_NAME"] = "QUARK_AUTO_SAVE_X_SESSION"
app.config["PERMANENT_SESSION_LIFETIME"] = timedelta(days=31)
app.json.ensure_ascii = False
app.json.sort_keys = False