mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-10 18:33:46 +02:00
ui(websocket): bruh...
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user