refactor: remove legacy environment variable aliases for configuration and concurrency settings

This commit is contained in:
CJACK committed 2026-04-05 16:27:58 +08:00
1 parent 0b0cf60982
commit 1d80f644d4
18 files changed
+60 -118

No files matched your search

+1 -2
View File
@@ -52,8 +52,7 @@ cp config.example.json config.json
按部署方式使用:
- 本地运行:直接读取 `config.json`
- Docker / Vercel:从 `config.json` 生成 Base64,填入 `DS2API_CONFIG_JSON`
- 兼容写法:`DS2API_CONFIG_JSON` 也可直接填原始 JSON;`CONFIG_JSON` 是旧版兼容回退变量
- Docker / Vercel:从 `config.json` 生成 Base64,填入 `DS2API_CONFIG_JSON`,也可以直接填原始 JSON
```bash
DS2API_CONFIG_JSON="$(base64 < config.json | tr -d '\n')"