2 parents faf8b03 + 0927d98 commit a3ebfddCopy full SHA for a3ebfdd
1 file changed
web/src/common/WsUtil.js
@@ -15,7 +15,7 @@ import { message } from 'antd';
15
*/
16
export function initWs(wsPort = location.port, path = 'do-not-proxy') {
17
if(!WebSocket){
18
- throw (new Error('WebSocket is not supportted on this browser'));
+ throw (new Error('WebSocket is not supported on this browser'));
19
}
20
21
const wsClient = new WebSocket(`ws://${location.hostname}:${wsPort}/${path}`);
0 commit comments