Merge pull request 'master' (#116) from master into test

Reviewed-on: http://git.feashow.cn/feashow/SmartOpsWeb/pulls/116
This commit is contained in:
springlog
2024-09-27 11:22:29 +00:00

View File

@@ -108,8 +108,8 @@ const handleLogout = () => {
const initWebSocket = () => {
try {
// const wsUrl=setWsUrl(`/ws/text/${token}`)
const wsUrl = `ws://frp.feashow.cn:31800/ws/text/${token}`
// const wsUrl = `ws://112.19.165.99:20002/api/ws/text/${token}`
// const wsUrl = `ws://frp.feashow.cn:31800/ws/text/${token}`
const wsUrl = `ws://112.19.165.99:20002/api/ws/text/${token}`
socket = new WebSocket(wsUrl)
// 2. ws.send()给服务器发送信息
//连接发生错误的回调方法