Socket reload
This commit is contained in:
		@@ -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;')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user