From eb5f5e37b57d4083a83e7280f059d8b5863aa0cc Mon Sep 17 00:00:00 2001 From: liuxiaoqing Date: Wed, 20 Aug 2025 10:44:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=96=87=E4=BB=B6=E5=A4=B9=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将上传文件夹路径从 'uploads' 修改为 '/data/uploads' - 此修改可能是为了适应服务器环境或提高文件管理的灵活性 --- alibabacloud_sample/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alibabacloud_sample/main.py b/alibabacloud_sample/main.py index 104cbd9..27f5c11 100644 --- a/alibabacloud_sample/main.py +++ b/alibabacloud_sample/main.py @@ -6,7 +6,7 @@ from alibabacloud_sample.service import Service app = Flask(__name__) CORS(app) -app.config['UPLOAD_FOLDER'] = 'uploads' # 指定上传文件夹 +app.config['UPLOAD_FOLDER'] = '/data/uploads' # 指定上传文件夹 app.config['WEBAPP'] = 'templates' dataservice = DataService() @app.route('/index')