@@ -219,9 +219,9 @@
// });
if (getToken()) {
+ console.log(window)
let url =
- 'ws://' +
- 'aiot.zoomwin.com.cn:51001' +
+ 'ws://' +window.location.host +
'/ws/websocket/UnreadNotifyMessageCount?token=' +
getToken();
let socket = new WebSocket(url);