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;')
|
console.log('%cSocket Closed', 'color: #BF616A; font-size: 18px; font-family: serif;')
|
||||||
socketStatus = false
|
socketStatus = false
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
loadSocket()
|
window.location.reload()
|
||||||
}, 1200)
|
}, 3000)
|
||||||
}
|
}
|
||||||
socket.onerror = (e) => {
|
socket.onerror = (e) => {
|
||||||
console.log('%cSocket Error', 'color: #BF616A; font-size: 18px; font-family: monospace;')
|
console.log('%cSocket Error', 'color: #BF616A; font-size: 18px; font-family: monospace;')
|
||||||
|
Loading…
Reference in New Issue
Block a user