ui(websocket): bruh...
This commit is contained in:
parent
ff4a64bfff
commit
ffbf7daea6
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue