Recconect local-timeline stream

This commit is contained in:
syuilo 2018-08-27 15:40:41 +09:00
parent 91995c9340
commit f60a48659b

View file

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