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);