diff --git a/backend/src/board-event-handler.ts b/backend/src/board-event-handler.ts index 5267c9cb5..9ab517526 100644 --- a/backend/src/board-event-handler.ts +++ b/backend/src/board-event-handler.ts @@ -49,13 +49,10 @@ export const handleBoardEvent = (allowedBoardId: Id | null, getSignedPutUrl: (ke // Path - board id mismatch -> always redirect const wsAddress = `${WS_PROTOCOL}://${wsHost}/socket/board/${appEvent.boardId}` - if (allowedBoardId) { - console.info( + /* console.info( `Trying to join board ${appEvent.boardId} on socket for board ${allowedBoardId}, board host ${wsHost} local hostnames ${WS_HOST_LOCAL}`, - ) - } else { - // This is the lobby, no need to complain - } + )*/ + session.sendEvent({ action: "board.join.denied", boardId: appEvent.boardId,