|
@ -31,7 +31,7 @@ export default { |
|
|
// 建立 websocket 连接 |
|
|
// 建立 websocket 连接 |
|
|
this.socket.initialize({ |
|
|
this.socket.initialize({ |
|
|
// url: 'ws://' + location.hostname + ':' + port + path, |
|
|
// url: 'ws://' + location.hostname + ':' + port + path, |
|
|
url: 'wss://' + locatoin.hostname + ':' + window.location.port + '/ws' || 80 + '/ws', |
|
|
url: 'wss://' + location.hostname + ':' + window.location.port + '/ws' || 80 + '/ws', |
|
|
// url: "ws://10.168.66.196:7789" + path, |
|
|
// url: "ws://10.168.66.196:7789" + path, |
|
|
// url: 'ws://10.168.77.128:7789/ws', |
|
|
// url: 'ws://10.168.77.128:7789/ws', |
|
|
// url: "ws://10.7.179.15" + ":" + port + path, |
|
|
// url: "ws://10.7.179.15" + ":" + port + path, |
|
|