diff --git a/Flask/app.py b/Flask/app.py index 4e42a89..38ad773 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -417,7 +417,7 @@ def allowed_file(filename): return '.' in filename and \ filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS -@app.route('/upload_file/', methods=['POST']) +@app.route('/upload_file/', methods=['POST', "GET"]) @login_required def upload_file(): print(request.files) diff --git a/Flask/templates/settings.html b/Flask/templates/settings.html index d5136ff..7974c04 100644 --- a/Flask/templates/settings.html +++ b/Flask/templates/settings.html @@ -74,7 +74,7 @@ -
+