This commit is contained in:
parent
bab3a86624
commit
2be6348273
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue