This commit is contained in:
piair 2023-08-21 19:38:27 +02:00
parent bab3a86624
commit 2be6348273

View File

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