1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-31 18:17:23 +01:00

Reverts onmessage

This commit is contained in:
Amir Raminfar
2020-05-13 19:12:54 -07:00
parent 14373f5123
commit ed3672cb54

View File

@@ -48,10 +48,10 @@ export default {
this.messages.push(...this.buffer);
this.buffer = [];
};
this.es.addEventListener("message", (e) => {
this.es.onmessage = (e) => {
this.buffer.push(this.parseMessage(e.data));
flushBuffer();
});
};
this.$once("hook:beforeDestroy", () => this.es.close());
},
async loadOlderLogs() {