chore: disable external client connect log
This commit is contained in:
+2
-2
@@ -144,7 +144,7 @@ function handleWhatsAppMessage(ws: WebSocket, data: string) {
|
||||
}
|
||||
|
||||
wss.on("connection", (ws) => {
|
||||
console.log("[WS] socket connected");
|
||||
// console.log("[WS] socket connected");
|
||||
|
||||
const url = new URL(ws.url ?? "", "http://localhost");
|
||||
const isBridge =
|
||||
@@ -249,7 +249,7 @@ wss.on("connection", (ws) => {
|
||||
ws.on("close", () => {
|
||||
clean();
|
||||
clientSockets.delete(ws);
|
||||
console.log("[WS] external client disconnected");
|
||||
// console.log("[WS] external client disconnected");
|
||||
});
|
||||
|
||||
ws.on("error", () => {
|
||||
|
||||
Reference in New Issue
Block a user