From 37249ec654aba11bf64df0ff37afb8cff5127b7a Mon Sep 17 00:00:00 2001 From: piair Date: Mon, 21 Aug 2023 19:40:51 +0200 Subject: [PATCH] test --- Flask/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Flask/app.py b/Flask/app.py index 3c9b0f6..b990c1a 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -409,7 +409,8 @@ def logs(): @app.route('/download/', methods=['GET', 'POST']) def download(filename): - return send_from_directory(directory='/user_data', path=filename) + print(filename) + return send_from_directory(directory='/user_data', path="configs.json")