Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
miuss committed Dec 3, 2024
1 parent 8179178 commit 59c899f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ const initScoket = () => {
}
})
sendPing()
setTimeout(() => sendPing(), 1000)
} catch (error) {
console.error('解析 WebSocket 消息时出错:', error);
}
Expand Down
2 changes: 1 addition & 1 deletion src/config/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
// 后端 Websocket 服务地址
socket: 'ws://localhost/ws'
socket: 'ws://192.168.31.64:3000/ws'
}

0 comments on commit 59c899f

Please sign in to comment.