Explorar o código

https --> http

洪海涛 %!s(int64=4) %!d(string=hai) anos
pai
achega
6f9eaaa947
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/workbench/mixins/websocket.js

+ 1 - 1
src/views/workbench/mixins/websocket.js

@@ -15,7 +15,7 @@ export default {
   },
   methods: {
     initWebSocket() { // 初始化weosocket
-      const wsUri = `wss://${ws}/zhihui-websocket/self/remind?ename=${localStorage.getItem('username')}`
+      const wsUri = `ws://${ws}/zhihui-websocket/self/remind?ename=${localStorage.getItem('username')}`
       this.websock = new WebSocket(wsUri)
       this.websock.onmessage = this.websocketonmessage
       this.websock.onopen = this.websocketonopen