fix: default private app type
diff --git a/erpnext/erpnext_integrations/utils.py b/erpnext/erpnext_integrations/utils.py
index 9065779..6acb241 100644
--- a/erpnext/erpnext_integrations/utils.py
+++ b/erpnext/erpnext_integrations/utils.py
@@ -36,7 +36,7 @@
 	try:
 		url = frappe.request.url
 	except RuntimeError:
-		url = "http://localhost:8000"
+		url = frappe.utils.get_url()
 
 	server_url = '{uri.scheme}://{uri.netloc}/api/method/{endpoint}'.format(uri=urlparse(url), endpoint=endpoint)