Recconect when stream closed

This commit is contained in:
syuilo 2018-08-25 14:18:16 +09:00
parent 473738382b
commit e8f5852540

View file

@ -41,6 +41,8 @@ export default class 藍 {
this.connection.addEventListener('close', () => {
console.log('home stream closed');
this.connection.reconnect();
});
this.connection.addEventListener('message', message => {