/ concept-collection / commonroom
Sign in
concept-collection / commonroom
commonroom / .env.example
8 lines · 533 BCodeBlameHistory
06b5f04Optional TURN relay, gated by a token and shared across the roomJeremy Magland 1# Optional: URL of the TURN credential Worker deployed from worker/.
2#
3# Without it the relay-token field is hidden and calls use STUN plus the free
4# public fallback relay, exactly as before. Copy this file to `.env.local` for
5# local development; for the GitHub Pages build, set it as the repository
6# variable VITE_TURN_ENDPOINT (Settings -> Secrets and variables -> Actions ->
7# Variables). It is not a secret — the Worker is protected by the room token.
8VITE_TURN_ENDPOINT=https://commonroom-turn.<your-subdomain>.workers.dev
moveopenescclose