diff --git a/package.json b/package.json index f98cf491..22e4545d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ui", - "version": "0.30.4", + "version": "0.30.5", "private": true, "scripts": { "dev": "react-scripts start", diff --git a/src/contexts/RobotContext.tsx b/src/contexts/RobotContext.tsx index 97a5f4b7..15013da6 100644 --- a/src/contexts/RobotContext.tsx +++ b/src/contexts/RobotContext.tsx @@ -311,7 +311,7 @@ export default ({ children }: any) => { useEffect(() => { const vdiClient: WebSocket | null = isSettedCookie && - robotData.step1.services.vdi.socketEndpoint && + responseRobot?.vdiIngressEndpoint && connectionsReducer?.vdi === null ? new WebSocket( (urls?.vdi || responseRobot?.vdiIngressEndpoint) +