diff --git a/web/src/common/WsUtil.js b/web/src/common/WsUtil.js index 80d8097..833d8e8 100644 --- a/web/src/common/WsUtil.js +++ b/web/src/common/WsUtil.js @@ -15,7 +15,7 @@ import { message } from 'antd'; */ export function initWs(wsPort = location.port, path = 'do-not-proxy') { if(!WebSocket){ - throw (new Error('WebSocket is not supportted on this browser')); + throw (new Error('WebSocket is not supported on this browser')); } const wsClient = new WebSocket(`ws://${location.hostname}:${wsPort}/${path}`);