mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-06-13 22:34:45 +02:00
a
This commit is contained in:
@ -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")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user