From b5b2a17c941624eff601c26e4f6352bef44b2fa5 Mon Sep 17 00:00:00 2001 From: suryaiyer95 Date: Fri, 31 May 2024 16:14:18 -0700 Subject: [PATCH] fix: url --- src/datapilot/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datapilot/utils/utils.py b/src/datapilot/utils/utils.py index 5f75ad5..fdbfa54 100644 --- a/src/datapilot/utils/utils.py +++ b/src/datapilot/utils/utils.py @@ -317,7 +317,7 @@ def map_url_to_instance(url, instance): "https://api.tryaltimate.com": f"https://{instance}.demo.tryaltimate.com", "https://api.myaltimate.com": f"https://{instance}.app.myaltimate.com", "https://api.getaltimate.com": f"https://{instance}.app.getaltimate.com", - "http://localhost:8000": "http://localhost:8000", + "http://localhost:8000": "http://{instance}.localhost:3000", } # Check if the URL is in the dictionary and return the corresponding instance URL