Uncomment socket connection and authentication in useSocketStore for Builder and Visualization

This commit is contained in:
Poovizhi99 2025-06-02 14:37:47 +05:30
parent de3eb81740
commit 44b6b4daab
1 changed files with 4 additions and 4 deletions

View File

@ -12,18 +12,18 @@ export const useSocketStore = create<any>((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 },
}
);