Browse Source

websocket地址

wangqin
lau572 9 months ago
parent
commit
98dca2b9fb
  1. 4
      ruoyi-ui/src/views/websocket.vue

4
ruoyi-ui/src/views/websocket.vue

@ -30,8 +30,8 @@ export default {
// console.log(location.hostname )
// websocket
this.socket.initialize({
// url: 'ws://' + location.hostname + ':' + port + path,
url: "ws://10.7.179.15" + ":" + port + path,
url: 'ws://' + location.hostname + ':' + port + path,
// url: "ws://10.7.179.15" + ":" + port + path,
// url: "ws://10.168.64.171" + ":" + port + path,
// url: 'ws://10.168.78.127'+ ':' + port + path,

Loading…
Cancel
Save