mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-14 08:20:42 +08:00
Merge pull request #42 from Cp0204/x-patch-cookie
解决和原版 Cookie 的冲突问题,避免双持用户相互挤掉登录状态
This commit is contained in:
commit
45a8b2ae84
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user