update URL to prod URL
This commit is contained in:
parent
1a5f05d574
commit
c3b7ff7246
@ -23,8 +23,8 @@ async def send_to_saas_backend(
|
||||
):
|
||||
if IS_PROD:
|
||||
async with httpx.AsyncClient() as client:
|
||||
# url = "https://screenshot-to-code-saas.onrender.com/generations/store"
|
||||
url = "http://localhost:8001/generations/store"
|
||||
url = "https://screenshot-to-code-saas.onrender.com/generations/store"
|
||||
# url = "http://localhost:8001/generations/store"
|
||||
|
||||
data = json.dumps(
|
||||
{
|
||||
|
||||
@ -10,8 +10,8 @@ async def does_user_have_subscription_credits(
|
||||
auth_token: str,
|
||||
):
|
||||
async with httpx.AsyncClient() as client:
|
||||
# url = "https://screenshot-to-code-saas.onrender.com/credits/has_credits"
|
||||
url = "http://localhost:8001/credits/has_credits"
|
||||
url = "https://screenshot-to-code-saas.onrender.com/credits/has_credits"
|
||||
# url = "http://localhost:8001/credits/has_credits"
|
||||
|
||||
headers = {
|
||||
"Content-Type": "application/json",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user