From 0665ba2808ae777f285e3f94e51286104581ce09 Mon Sep 17 00:00:00 2001 From: piair Date: Mon, 21 Aug 2023 19:34:04 +0200 Subject: [PATCH] a --- Flask/app.py | 2 +- Flask/templates/settings.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Flask/app.py b/Flask/app.py index a2b3a02..46845dc 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -407,7 +407,7 @@ def logs(): -@app.route('/pdf/', methods=['GET', 'POST']) +@app.route('/download/', methods=['GET', 'POST']) def download(filename): return send_from_directory(directory='/user_data', filename=filename) diff --git a/Flask/templates/settings.html b/Flask/templates/settings.html index 09279fa..c01c594 100644 --- a/Flask/templates/settings.html +++ b/Flask/templates/settings.html @@ -64,7 +64,7 @@ logs viewer - +download all config {% endif %} {%endblock %}