Socket reload

This commit is contained in:
Elizabeth Cray 2023-06-18 04:29:39 -04:00
parent dc701f957a
commit 39f8aa646f

View File

@ -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;')