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) => {
|
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", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user