xubo 1 年間 前
コミット
6b10c75046
1 ファイル変更1 行追加1 行削除
  1. 1 1
      alibabacloud_sample/file_utils.py

+ 1 - 1
alibabacloud_sample/file_utils.py

@@ -6,7 +6,7 @@ app = Flask(__name__)
 app.config['UPLOAD_FOLDER'] = 'uploads'  # 替换为你的上传文件夹路径
 
 
-@app.route('/upload', methods=['POST'])
+@app.route('/api/upload', methods=['POST'])
 def upload_file():
     if 'file' not in request.files:
         return "No file part"