ลบ log ออกเพื่อให้สามารถดู log อื่นๆ ได้ง่ายขึ้น
This commit is contained in:
parent
e04d1ad7d3
commit
0e80acfb1b
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ export function initWebSocket() {
|
|||
});
|
||||
|
||||
io.on("connection", (ws) => {
|
||||
console.log("✅ Client connected to WebSocket");
|
||||
// console.log("✅ Client connected to WebSocket");
|
||||
|
||||
ws.on("close", () => {
|
||||
console.log("❌ Client disconnected");
|
||||
|
|
@ -46,7 +46,7 @@ export async function sendWebSocket(
|
|||
) {
|
||||
if (!io) initWebSocket();
|
||||
// console.log( `🔔 <Message>:`,data.message);
|
||||
|
||||
|
||||
for (let [id, session] of io.of("/").sockets) {
|
||||
const user: {
|
||||
sub: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue