chore: disable external client connect log

This commit is contained in:
2026-09-17 06:15:42 +08:00
parent aa25af028e
commit e9c1d5f3c7
+2 -2
View File
@@ -144,7 +144,7 @@ function handleWhatsAppMessage(ws: WebSocket, data: string) {
} }
wss.on("connection", (ws) => { wss.on("connection", (ws) => {
console.log("[WS] socket connected"); // console.log("[WS] socket connected");
const url = new URL(ws.url ?? "", "http://localhost"); const url = new URL(ws.url ?? "", "http://localhost");
const isBridge = const isBridge =
@@ -249,7 +249,7 @@ wss.on("connection", (ws) => {
ws.on("close", () => { ws.on("close", () => {
clean(); clean();
clientSockets.delete(ws); clientSockets.delete(ws);
console.log("[WS] external client disconnected"); // console.log("[WS] external client disconnected");
}); });
ws.on("error", () => { ws.on("error", () => {