Skip to content

Commit

Permalink
Even less noise
Browse files Browse the repository at this point in the history
  • Loading branch information
raimohanska committed Jan 30, 2024
1 parent c213a49 commit ae2729d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions backend/src/board-event-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ae2729d

Please sign in to comment.