Skip to content

Commit

Permalink
fix: remove console and update server to green
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhy-Deriv committed Nov 1, 2024
1 parent 89af5ec commit 72abbf7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/scripts/freshchat.js
Original file line number Diff line number Diff line change
@@ -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 } = {}) {
Expand Down Expand Up @@ -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;
}
};
Expand Down

0 comments on commit 72abbf7

Please sign in to comment.