Migrate computer-server to new API url

This commit is contained in:
Dillon DuPont
2025-10-22 14:50:15 -07:00
parent bfaeb40441
commit 8e443503ee

View File

@@ -183,7 +183,7 @@ class AuthenticationManager:
headers = {"Authorization": f"Bearer {api_key}"}
async with session.get(
f"https://www.trycua.com/api/vm/auth?container_name={container_name}",
f"https://www.cua.ai/api/vm/auth?container_name={container_name}",
headers=headers,
) as resp:
is_valid = resp.status == 200 and bool((await resp.text()).strip())