Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

update URL to prod URL

Abi Raja13888db9b573
diff --git a/backend/access_token.py b/backend/access_token.py
index bed72731..e61ef12a 100644
--- a/backend/access_token.py
+++ b/backend/access_token.py
@@ -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,