ui(websocket): bruh...

This commit is contained in:
Matthew Penner 2021-02-25 15:14:12 -07:00
parent ff4a64bfff
commit ffbf7daea6

View file

@ -25,7 +25,7 @@ export class Websocket extends EventEmitter {
connect (url: string): this { connect (url: string): this {
this.url = url; this.url = url;
this.socket = new Sockette(`${this.url}`, { this.socket = new Sockette(this.url, {
onmessage: e => { onmessage: e => {
try { try {
const { event, args } = JSON.parse(e.data); const { event, args } = JSON.parse(e.data);