fix auth on reconnect
This commit is contained in:
parent
20140b16b4
commit
41562c8d4b
2 changed files with 7 additions and 3 deletions
|
|
@ -129,7 +129,8 @@ export function initSession(): void {
|
|||
});
|
||||
|
||||
socket.on('close', () => {
|
||||
console.log('Connection droped! Restarting...')
|
||||
console.log('Connection droped! Restarting...');
|
||||
auth = false;
|
||||
initSession();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue