diff --git a/src/api/ws.ts b/src/api/ws.ts index 55c59a6..1d212a1 100644 --- a/src/api/ws.ts +++ b/src/api/ws.ts @@ -33,6 +33,8 @@ export class wsClient { this.client = new Client(req.socket.remoteAddress ?? ""); this.socket = socket; + clients.push(this); + socket.on("message", async (msg: any) => { try { this.activeRequests++;