Skip to content

Commit

Permalink
fix(console): rm extra colon (#1968)
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-hnny committed May 26, 2022
1 parent 123fe7d commit 39a913b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/console/src/modules/vnc/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 39a913b

Please sign in to comment.