From ffbf7daea6aec8b5cfa40dc8c4dd327a02e56849 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Thu, 25 Feb 2021 15:14:12 -0700 Subject: [PATCH] ui(websocket): bruh... --- resources/scripts/plugins/Websocket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scripts/plugins/Websocket.ts b/resources/scripts/plugins/Websocket.ts index 0f8150dcd..c5e205ccf 100644 --- a/resources/scripts/plugins/Websocket.ts +++ b/resources/scripts/plugins/Websocket.ts @@ -25,7 +25,7 @@ export class Websocket extends EventEmitter { connect (url: string): this { this.url = url; - this.socket = new Sockette(`${this.url}`, { + this.socket = new Sockette(this.url, { onmessage: e => { try { const { event, args } = JSON.parse(e.data);