Setup now waits for both IndexedDB writes: the acceptor acknowledges its write, a failure on either side is reported to both people, and the proposer removes its copy if the acceptor could not save. Every session that authenticates the paired device compares a check value derived from the stored pairing, so a one-sided pairing (interrupted setup, or Turn off reconnect on one device) is turned off on the other side too. The tracker is chosen under Network settings > Connection discovery (manual, default from VITE_TRACKER_URL, or custom), stored per browser and editable during a session. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
343 B
Bash
9 lines
343 B
Bash
# Run bun run dev:setup to create .env.development with a random secret.
|
|
TURN_SECRET=replace-with-a-random-secret
|
|
TURN_HOST=127.0.0.1
|
|
TURN_PORT=3478
|
|
VITE_ICE_ENDPOINT=/api/ice-servers
|
|
VITE_STUN_URL=stun:127.0.0.1:3478
|
|
# Optional: the Default tracker under Connection discovery, e.g. the local container.
|
|
# VITE_TRACKER_URL=ws://localhost:8000
|