From 491dc4967925327d57f5d1d230072df4c46c016e Mon Sep 17 00:00:00 2001 From: Igor Ilic Date: Mon, 2 Dec 2024 14:00:17 +0100 Subject: [PATCH] refactor: Change proxy url to be to custom domain Added custom domain for proxy use Refactor COG-741 --- cognee/shared/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cognee/shared/utils.py b/cognee/shared/utils.py index a1792a2e..315e234f 100644 --- a/cognee/shared/utils.py +++ b/cognee/shared/utils.py @@ -17,7 +17,7 @@ import pathlib # Analytics Proxy Url, currently hosted by Vercel -vercel_url = "https://proxyanalytics.vercel.app" +proxy_url = "https://test.prometh.ai" def get_anonymous_id(): """Creates or reads a anonymous user id""" @@ -57,7 +57,7 @@ def send_telemetry(event_name: str, user_id, additional_properties: dict = {}): }, } - response = requests.post(vercel_url, json=payload) + response = requests.post(proxy_url, json=payload) if response.status_code != 200: print(f"Error sending telemetry through proxy: {response.status_code}")