documentation, tify up and vnc token into vm route

This commit is contained in:
2025-07-28 05:08:49 +09:30
parent a455e32626
commit a7c70165bd
7 changed files with 62 additions and 21 deletions
+1 -1
View File
@@ -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():