From f7b38a944431222549cb3459086dee17a212b58f Mon Sep 17 00:00:00 2001 From: suryaiyer95 Date: Fri, 31 May 2024 16:14:38 -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 fdbfa54..feb0cb7 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://{instance}.localhost:3000", + "http://localhost:8000": f"http://{instance}.localhost:3000", } # Check if the URL is in the dictionary and return the corresponding instance URL