From a69d2cd7b3d9a3faf719b1219d976a5d3bd3df57 Mon Sep 17 00:00:00 2001 From: Mateusz779 Date: Fri, 7 Apr 2023 13:39:43 +0200 Subject: [PATCH] - --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 389c922..c17cd96 100644 --- a/app.py +++ b/app.py @@ -52,8 +52,8 @@ def add_image(): @app.route("/api/getvpn") def get_image(): try: - print(request.args) - filename = db.GetVPNImage(request.args['token']) + print(request.headers) + filename = db.GetVPNImage(request.headers['token']) except: filename = "default.squashfs" if filename is None or filename == "":