From 44b6b4daabf3df14ccb77a74c4a0830c0db53296 Mon Sep 17 00:00:00 2001 From: Poovizhi99 Date: Mon, 2 Jun 2025 14:37:47 +0530 Subject: [PATCH] Uncomment socket connection and authentication in useSocketStore for Builder and Visualization --- app/src/store/builder/store.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/store/builder/store.ts b/app/src/store/builder/store.ts index 2b0f26d..fb5bf2f 100644 --- a/app/src/store/builder/store.ts +++ b/app/src/store/builder/store.ts @@ -12,18 +12,18 @@ export const useSocketStore = create((set: any, get: any) => ({ } const socket = io( - // `http://${process.env.REACT_APP_SERVER_SOCKET_API_BASE_URL}/Builder`, + `http://${process.env.REACT_APP_SERVER_SOCKET_API_BASE_URL}/Builder`, { reconnection: true, - // auth: { email, organization }, + auth: { email, organization }, } ); const visualizationSocket = io( - // `http://${process.env.REACT_APP_SERVER_SOCKET_API_BASE_URL}/Visualization`, + `http://${process.env.REACT_APP_SERVER_SOCKET_API_BASE_URL}/Visualization`, { reconnection: true, - // auth: { email, organization }, + auth: { email, organization }, } );