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 %}