提交 64e58ee4 authored 作者: GOD_ZYX's avatar GOD_ZYX

update

上级 1f744e57
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -21,7 +21,7 @@ export default {
methods: {
createSocket () {
let that = this
let socket = new WebSocket('wss://' + window.location.host.replace(/\:.*$/, '')) // eslint-disable-line
let socket = new WebSocket('ws://' + window.location.host.replace(/\:.*$/, ':12002')) // eslint-disable-line
socket.binaryType = 'arraybuffer'
socket.onmessage = function (msg) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论