|
|
@@ -172,7 +172,7 @@ export default {
|
|
|
initWebSocket() {
|
|
|
const wsuri =
|
|
|
location.host.indexOf('dev') > -1
|
|
|
- ? 'ws://dev.wutongshucloud.com/ws/websocket/'
|
|
|
+ ? 'wss://dev.wutongshucloud.com/ws/websocket/'
|
|
|
: config.wss + this.user.info.userId
|
|
|
this.websock = new WebSocket(wsuri)
|
|
|
this.websock.onmessage = this.websocketonmessage
|