Socket reload
This commit is contained in:
parent
dc701f957a
commit
39f8aa646f
@ -117,8 +117,8 @@ let loadSocket = () => {
|
||||
console.log('%cSocket Closed', 'color: #BF616A; font-size: 18px; font-family: serif;')
|
||||
socketStatus = false
|
||||
setTimeout(() => {
|
||||
loadSocket()
|
||||
}, 1200)
|
||||
window.location.reload()
|
||||
}, 3000)
|
||||
}
|
||||
socket.onerror = (e) => {
|
||||
console.log('%cSocket Error', 'color: #BF616A; font-size: 18px; font-family: monospace;')
|
||||
|
Loading…
Reference in New Issue
Block a user