diff --git a/README.md b/README.md index a11d9fc..7afceee 100644 --- a/README.md +++ b/README.md @@ -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) - ``` --- ## ⚠️ 注意事项