fixed download configuration file for peer

This commit is contained in:
Galonza Peter 2021-12-28 22:55:52 +03:00
parent e42ecf3c99
commit 5ade5176c0

View file

@ -1056,7 +1056,7 @@ def generate_qrcode(config_name):
sem.release()
return redirect("/configuration/" + config_name)
# Download configuration file
@app.route('/<config_name>', methods=['GET'])
@app.route('/download/<config_name>', methods=['GET'])
def download(config_name):
print(request.headers.get('User-Agent'))
id = request.args.get('id')