-
This commit is contained in:
parent
5b5d4cab1a
commit
a69d2cd7b3
4
app.py
4
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 == "":
|
||||
|
Loading…
Reference in New Issue
Block a user