This commit is contained in:
piair 2023-08-21 19:38:27 +02:00
parent bab3a86624
commit 2be6348273
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ def logs():
@app.route('/download/<path:filename>', methods=['GET', 'POST']) @app.route('/download/<path:filename>', methods=['GET', 'POST'])
def download(filename): def download(filename):
return send_from_directory(directory='/user_data', filename=filename) return send_from_directory(directory='/user_data', path=filename)