修复问题

This commit is contained in:
al 2024-12-26 19:34:59 +08:00
parent 70890cce84
commit 1441c09f48
1 changed files with 1 additions and 2 deletions

View File

@ -49,9 +49,8 @@ const WebSocketComponent = ({ getData, authInfo }) => {
const account = get("account");
if (socketRef.current?.readyState === 1) return;
// WebSocket
console.log("desdas--------.", account);
socketRef.current = new WebSocket(
`${process.env.NEXT_PUBLIC_WEBSOCKET_URL}/ws?b_mid=${base.b_mid}&b_dt=1&b_token=${base.b_token}&b-ch=h5`
`${process.env.NEXT_PUBLIC_WEBSOCKET_URL}/ws?b_mid=${base.b_mid}&b_dt=1&b_token=${base.b_token}&b_ch=h5`
);
// 使wss