mirror of
https://github.com/trycua/computer.git
synced 2026-01-01 11:00:31 -06:00
finalized endpoint
This commit is contained in:
@@ -52,7 +52,6 @@ class CloudProvider(BaseVMProvider):
|
||||
vnc_url = (await resp.text()).strip()
|
||||
parsed = urlparse(vnc_url)
|
||||
hostname = parsed.hostname or ""
|
||||
hostname = hostname.replace(".us.vms.trycua.com", ".containers.cloud.trycua.com")
|
||||
return {"name": name, "status": "available", "vnc_url": vnc_url, "hostname": hostname}
|
||||
else:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user