diff --git a/web/console/src/modules/vnc/index.tsx b/web/console/src/modules/vnc/index.tsx index e4f64081a..2c5a603a2 100644 --- a/web/console/src/modules/vnc/index.tsx +++ b/web/console/src/modules/vnc/index.tsx @@ -17,7 +17,7 @@ export const VNCPage = () => { const protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:'; - const vncUrl = `${protocol}://${location.host}/websocket?clusterName=${clusterId}&encodePath=${encode(encodePath)}`; + const vncUrl = `${protocol}//${location.host}/websocket?clusterName=${clusterId}&encodePath=${encode(encodePath)}`; const vncBox = useRef(null);