diff --git a/common/utils/websocket.js b/common/utils/websocket.js index 2b4876a..31e2a72 100644 --- a/common/utils/websocket.js +++ b/common/utils/websocket.js @@ -108,7 +108,7 @@ export const MsbWebSktInit = () => { return new Promise((resolve, reject) => { MsbWebSkt = uni.connectSocket({ // url : `wss://you-gateway.mashibing.com/ws?client=${store.state.token}`, // url是websocket连接ip - url : `wss://k8s-horse-gateway.mashibing.cn/ws?client=${store.state.token}`, // url是websocket连接ip + url : `wss://k8s-horse-gateway.mashibing.cn/ws?client=${store.state.token}&type=1`, // url是websocket连接ip // url : `ws://192.168.10.93:8090/ws?client=${token}&type=1`, // url是websocket连接ip fail: e => { reject(e) diff --git a/unpackage/dist/build/h5/index.html b/unpackage/dist/build/h5/index.html index 74df599..cd7eca2 100644 --- a/unpackage/dist/build/h5/index.html +++ b/unpackage/dist/build/h5/index.html @@ -1,2 +1,2 @@