From 72abbf72eae84f688f4594b53ec6c62c4363b464 Mon Sep 17 00:00:00 2001 From: Nuzhy-Deriv Date: Fri, 1 Nov 2024 11:49:59 +0800 Subject: [PATCH] fix: remove console and update server to green --- public/scripts/freshchat.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/scripts/freshchat.js b/public/scripts/freshchat.js index 00f86c42b5b6a..43e15571a69b4 100644 --- a/public/scripts/freshchat.js +++ b/public/scripts/freshchat.js @@ -1,5 +1,5 @@ class FreshChat { - hostname = localStorage.getItem("config.server_url") || "blue.derivws.com"; + hostname = localStorage.getItem("config.server_url") || "green.derivws.com"; appId = localStorage.getItem("config.app_id") || 16929; constructor({ token = null, hideButton = false } = {}) { @@ -72,7 +72,6 @@ class FreshChat { const data = await response.json(); return data?.service_token?.freshworks_user_jwt?.token; } catch (error) { - console.error("Fetch error:", error); return null; } };