documentation, tify up and vnc token into vm route
This commit is contained in:
@@ -31,7 +31,7 @@ def generate_vnc_url(virtual_machine_id: str, secret_key: str) -> str:
|
||||
token_bytes = json.dumps(outer_payload).encode("utf-8")
|
||||
token_b64 = base64.urlsafe_b64encode(token_bytes).decode("utf-8").rstrip("=")
|
||||
|
||||
return f"http://127.0.0.1:8080/vnc.html?autoconnect=true&host=127.0.0.1&port=6002&path=vnc?token={token_b64}"
|
||||
return f"https://vnc.xcloudify.tech/vnc.html?autoconnect=true&host=127.0.0.1&port=6002&path=vnc?token={token_b64}"
|
||||
|
||||
|
||||
def render_list():
|
||||
|
||||
Reference in New Issue
Block a user