This commit is contained in:
piair 2023-08-21 19:43:15 +02:00
parent 08dde1f6d2
commit e2f47432c4

View File

@ -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)