Spaces:
Sleeping
Sleeping
Commit History
-
fix: detect iframe requests in service worker and skip COOP headers
Modified coi-serviceworker to check Sec-Fetch-Dest header. When the request destination is "iframe", skip adding Cross-Origin-Opener-Policy headers which block iframe embedding. This allows: - Direct access: Full SharedArrayBuffer support with COOP headers - Iframe embedding: Works without COOP (AI uses single-thread mode) Co-Authored-By: Claude <noreply@anthropic.com>a5530bb
-
feat: room rename and room switching with confirmation
New features: - Room rename: admins can rename rooms with editable input - Room switching during game: confirmation dialog prevents accidental game abandonment - Auto-resign when leaving active game after confirmation Bug fixes included: - Race conditions in join logic - Reconnect logic to rejoin previous room - Memory leak prevention in socket listeners - Fixed offX() methods undefined handler6f4808d
-
Deploy: fix build by keeping pre-built dist folder
- Updated deploy.sh to not remove dist folder - Dockerfile expects pre-built frontend assets63a8db2 -
Update: fix disconnect state sync and dynamic socket URL
Changes: - Fix room showing "full" after player disconnect - Clean up stale disconnected player entries - Use window.location.origin for dynamic socket URL - Add Vite proxy for socket.io support - Rebuild frontend with latest changes Co-Authored-By: Claude <noreply@anthropic.com>f6a5e63
-
Pre-build backend to skip esbuild step in Docker
- Include pre-built backend/dist/backend/src/server.js - Remove esbuild build step from Dockerfile - Simplify to only npm install for runtime deps Co-Authored-By: Claude <noreply@anthropic.com>6a4b3c0