import { redirect } from 'next/navigation'

export default function Home() {
  let roomNumber = ""
  for(let i = 0; i < 6; i++) {
    roomNumber += Math.floor(Math.random() * 9.99)
  }
  redirect('/' + roomNumber.toString())
}
