Uncomment socket connection and authentication in useSocketStore for Builder and Visualization
This commit is contained in:
@@ -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 },
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user