fix(setting): 修复配置页面模块不切换,新增readme说明

This commit is contained in:
cnlimiter
2026-03-17 18:26:18 +08:00
parent af21e5ad2e
commit 0c0dba5755
5 changed files with 145 additions and 3 deletions

View File

@@ -88,8 +88,19 @@ python webui.py --host 0.0.0.0 --port 8080
# 调试模式(热重载)
python webui.py --debug
# 设置 Web UI 访问密钥
python webui.py --access-password mypassword
# 组合参数
python webui.py --host 0.0.0.0 --port 8080 --access-password mypassword
```
> `--access-password` 优先级高于数据库中保存的密钥设置,每次启动时生效。打包后的 exe 同样支持此参数:
> ```bash
> codex-register.exe --access-password mypassword
> ```
### 使用远程 PostgreSQL
通过环境变量指定数据库连接字符串: