feat: add support for custom cookie name via config to avoid multi-instance conflicts

This commit is contained in:
duorameng
2026-06-16 16:26:52 +08:00
parent 48db87ddae
commit b135763280
5 changed files with 18 additions and 4 deletions
+2
View File
@@ -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