This commit is contained in:
gtz 2023-05-19 15:21:00 +08:00
parent 67fff7f720
commit dad46d2452

View File

@ -31,8 +31,7 @@ function handleError(err) {
function handleClose(data) { function handleClose(data) {
console.log('[x] 服务器关闭连接') console.log('[x] 服务器关闭连接')
setTimeout(() => { setTimeout(() => {
const wsc = new WsClient(data); location.reload()
wsc.registerListeners();
}, 30000) }, 30000)
} }