更新 README.md

This commit is contained in:
xingluo 2025-05-04 18:21:47 +08:00
parent df76a58370
commit 91a70e1d4d

View File

@ -48,7 +48,7 @@ pip install -r requirements.txt
### 2. 启动服务器
```bash
python main.py
python main.py --port 5000
```
---
@ -61,14 +61,6 @@ python main.py
CLEANUP_INTERVAL = 3600 # 清理临时文件的间隔(秒)
FILE_EXPIRY = 7200 # 文件过期时间(秒)
```
## 端口配置
- **默认端口**: 5000
- **自定义配置**:
```python
# 在main.py文件底部中修改
app.run(debug=True,port=5000)
```
---
## ⚠️ 注意事项