update URL to prod URL

This commit is contained in:
Abi Raja 2023-11-29 14:28:36 -05:00
parent b904710cfc
commit 13888db9b5

View File

@ -5,7 +5,9 @@ import httpx
async def validate_access_token(access_code: str):
async with httpx.AsyncClient() as client:
url = "http://localhost:8000/screenshot_to_code/validate_access_token"
url = (
"https://backend.buildpicoapps.com/screenshot_to_code/validate_access_token"
)
data = json.dumps(
{
"access_code": access_code,