mirror of
https://github.com/trycua/computer.git
synced 2025-12-31 02:19:58 -06:00
Migrate computer-server to new API url
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user