30abcaa2 by lihua

修改消息websocketUrl

1 parent 2fe1addd
......@@ -256,8 +256,8 @@ const messageAllRead = () => {
}
const createServerConnect = () => {
const websocketUrl = 'http://192.168.6.20:29203/'; //测试环境的
const ws = new WebSocket(`wss://${websocketUrl}/websocket/${userData.staffGuid}`);
const websocketUrl = '192.168.6.20:29203'; //测试环境的
const ws = new WebSocket(`ws://${websocketUrl}/websocket/${userData.staffGuid}`);
ws.onopen = function () {
console.log('Connected to server.');
};
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!