mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-10 17:04:06 +08:00
fixed download configuration file for peer
This commit is contained in:
parent
e42ecf3c99
commit
5ade5176c0
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue