-
This commit is contained in:
parent
a69d2cd7b3
commit
62db7a0bbe
2
app.py
2
app.py
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user