This commit is contained in:
Mateusz779 2023-04-07 13:40:36 +02:00
parent a69d2cd7b3
commit 62db7a0bbe

2
app.py
View File

@ -52,7 +52,7 @@ def add_image():
@app.route("/api/getvpn") @app.route("/api/getvpn")
def get_image(): def get_image():
try: try:
print(request.headers) print(request.headers['token'])
filename = db.GetVPNImage(request.headers['token']) filename = db.GetVPNImage(request.headers['token'])
except: except:
filename = "default.squashfs" filename = "default.squashfs"