fix:修复端口设置

This commit is contained in:
ZhangYonghao
2026-03-21 20:42:47 +08:00
parent 10d463a55f
commit eaefc318a6
4 changed files with 6 additions and 5 deletions

View File

@@ -195,7 +195,7 @@ NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
| `APP_NAME` | string | `HTML Knowledge API` | 服务名称 |
| `API_PREFIX` | string | `/api` | 接口前缀 |
| `PUBLIC_BASE_URL` | string | `http://localhost:8000` | 对外可访问的服务域名 |
| `ALLOWED_ORIGINS` | JSON array / string | `["http://localhost:3000"]` | CORS 白名单 |
| `ALLOWED_ORIGINS` | JSON array / string | `["*"]` | CORS 白名单 |
| `HTML_STORAGE_DIR` | string | `./data/generated_html` | HTML 文件存储目录 |
| `DEFAULT_RETENTION_DAYS` | integer | `7` | 默认保留天数 |
| `MAX_RETENTION_DAYS` | integer | `30` | 最大允许保留天数 |