Skip to content

Commit

Permalink
mieux ?
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTheGeek committed Jan 30, 2024
1 parent 8a5f933 commit f0f37a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def check_auth():
def check_auth_vnc():
headers = dict(request.headers)
print(headers)
uri = "/test=token"
uri = request.headers.get("uri")
part_after_equal = uri.split('=', 1)[1]
token_url = part_after_equal.split('&', 1)[0]
vm = VM.query.filter_by(vncurl=token_url).first()
Expand Down

0 comments on commit f0f37a8

Please sign in to comment.