diff --git a/main.py b/main.py index 86903b9..9ab7af3 100644 --- a/main.py +++ b/main.py @@ -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()