From 6363dd46fc23cce05d06e5f90db72cd3fbe461c5 Mon Sep 17 00:00:00 2001 From: Sewmina Date: Mon, 2 Jun 2025 08:38:39 +0530 Subject: [PATCH] secure chat --- src/components/GlobalChat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GlobalChat.tsx b/src/components/GlobalChat.tsx index 944b90b..e818611 100644 --- a/src/components/GlobalChat.tsx +++ b/src/components/GlobalChat.tsx @@ -44,7 +44,7 @@ export default function GlobalChat() { if (!authenticated) return; // Initialize socket connection - const socketInstance = io('http://api.duelfi.io:3040', { + const socketInstance = io('https://wschat.duelfi.io', { auth: { token: user?.id // Using Privy user ID as authentication }