( email: string | null | undefined, )
| 29 | * Bypassed users behave exactly as if the waiting room were disabled. */ |
| 30 | const WAITING_ROOM_BYPASS_EMAILS = new Set<string>(['team@codebuff.com']) |
| 31 | export function isWaitingRoomBypassedForEmail( |
| 32 | email: string | null | undefined, |
| 33 | ): boolean { |
| 34 | if (!email) return false |
| 35 | return WAITING_ROOM_BYPASS_EMAILS.has(email.toLowerCase()) |
| 36 | } |
| 37 | |
| 38 | export function getSessionLengthMs(): number { |
| 39 | return env.FREEBUFF_SESSION_LENGTH_MS |
no outgoing calls
no test coverage detected