This commit is contained in:
parent
08dde1f6d2
commit
e2f47432c4
|
@ -406,11 +406,10 @@ def logs():
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@login_required
|
||||||
@app.route('/download/<path:filename>', methods=['GET', 'POST'])
|
@app.route('/download/<path:filename>', methods=['GET', 'POST'])
|
||||||
def download(filename):
|
def download(filename):
|
||||||
print(filename)
|
return send_from_directory(directory='/app/MsRewards-Reborn/user_data/', path=filename)
|
||||||
return send_from_directory(directory='/app/MsRewards-Reborn/user_data/', path="configs.json")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue