From 91a70e1d4dd2f189011b511db0492eb798c2affa Mon Sep 17 00:00:00 2001 From: xingluo Date: Sun, 4 May 2025 18:21:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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) - ``` --- ## ⚠️ 注意事项