diff --git a/.env.example b/.env.example deleted file mode 100644 index f288212..0000000 --- a/.env.example +++ /dev/null @@ -1,18 +0,0 @@ -# Server -PORT=3001 -JWT_SECRET=your-secure-random-secret-key-here -CORS_ORIGINS=http://localhost:5173,http://localhost:3000 - -# Database (PostgreSQL) -DATABASE_URL=postgresql://user:password@localhost:5432/vortex - -# Message encryption (AES-256-GCM) — 64-char hex key (32 bytes) -# Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" -# WARNING: if you lose this key, all encrypted messages become unreadable! -ENCRYPTION_KEY= - -# TURN server for voice/video calls (optional, recommended for production) -# Install coturn: sudo apt install coturn -# TURN_URL=turn:your-domain.com:3478 -# TURN_SECRET=your-coturn-shared-secret -# STUN_URLS=stun:stun.l.google.com:19302,stun:stun1.l.google.com:19302 diff --git a/apps/web/src/components/CallModal.tsx b/apps/web/src/components/CallModal.tsx index 452eff7..4324634 100644 --- a/apps/web/src/components/CallModal.tsx +++ b/apps/web/src/components/CallModal.tsx @@ -1576,37 +1576,38 @@ export default function CallModal({ isOpen, onClose, targetUser, callType: initi )} - {/* === Main Content Area === */} -
- {/* - CRITICAL: Single stable remote video element. - We keep it always mounted so WebRTC srcObject is never lost - during transitions between voice and video modes. - */} -