Frontend fixes for Safari/iPad WebSocket reliability: 1. Add Vite allowedHosts config (nuxt.config.ts) - Allow gameplay-demo.manticorum.com for external access - Fixes "Blocked request" error after Vite security update 2. Add connection timeout failsafe (useWebSocket.ts) - 10-second timeout resets stuck "isConnecting" state - Prevents Heisenbug where Safari connections hang indefinitely - Auto-schedules reconnection after timeout 3. Add visible debug info to connection modal (games/[id].vue) - Shows WS URL, socket status, and connection log - Helps diagnose Safari-specific issues without dev tools 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| CLAUDE.md | ||
| useGameActions.ts | ||
| useWebSocket.ts | ||