From 5ade5176c0583d81ce4ced832d7722c39001e8fd Mon Sep 17 00:00:00 2001
From: Galonza Peter
Date: Tue, 28 Dec 2021 22:55:52 +0300
Subject: [PATCH] fixed download configuration file for peer
---
src/dashboard.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dashboard.py b/src/dashboard.py
index 07959e6..78e1ca8 100644
--- a/src/dashboard.py
+++ b/src/dashboard.py
@@ -1056,7 +1056,7 @@ def generate_qrcode(config_name):
sem.release()
return redirect("/configuration/" + config_name)
# Download configuration file
-@app.route('/', methods=['GET'])
+@app.route('/download/', methods=['GET'])
def download(config_name):
print(request.headers.get('User-Agent'))
id = request.args.get('id')