feat: add support for custom cookie name via config to avoid multi-instance conflicts
This commit is contained in:
@@ -6,6 +6,8 @@ host = 0.0.0.0
|
||||
# URL前缀,例如 /baihu,留空则无前缀
|
||||
# 配置后:前端路径为 /baihu/*,后端API路径为 /baihu/api/v1/*
|
||||
url_prefix =
|
||||
# 全局会话 Cookie 名称
|
||||
cookie_name = BHToken
|
||||
|
||||
[database]
|
||||
# 数据库类型: sqlite, mysql, postgres
|
||||
|
||||
Reference in New Issue
Block a user