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 5d38616 commit 11c6842
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,8 @@ def check_auth():
@login_required
def check_auth_vnc():
uri = request.headers.get('X-Original-URI')
print(uri)
print("here: "+request.headers)
print("uri: "+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 11c6842

Please sign in to comment.