frontend: fix gateway reconnect

This commit is contained in:
hippoz 2022-04-27 17:08:19 +03:00
parent 24fb9feead
commit 25b1ba653c
Signed by: hippoz
GPG key ID: 7C52899193467641

View file

@ -114,7 +114,7 @@ export default {
this.reconnectDelay *= 2; this.reconnectDelay *= 2;
} }
this.reconnectTimeout = setTimeout(() => { this.reconnectTimeout = setTimeout(() => {
this.init(); this.init(token);
}, this.reconnectDelay); }, this.reconnectDelay);
} }