forked from piair/MsRewards-Reborn
a
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'])
|
||||
def download(filename):
|
||||
print(filename)
|
||||
return send_from_directory(directory='/app/MsRewards-Reborn/user_data/', path="configs.json")
|
||||
return send_from_directory(directory='/app/MsRewards-Reborn/user_data/', path=filename)
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user