Skip to content

Commit

Permalink
alors...
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTheGeek committed Jan 30, 2024
1 parent 693f29a commit df28f88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,8 @@ def check_auth_vnc():
headers = dict(request.headers)
print(headers)
uri = str(request.headers.get("uri"))
print(uri)
uri = "/test?=token"
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 df28f88

Please sign in to comment.