Commit caa6c58
fix: copy frontend/public into Docker image and set WS origin
The Dockerfile only copied frontend/dist (built assets) but not
frontend/public/ (static files). This caused /static/game-redirect.js
to 404 since the lobby app silently skips mounting /static when the
directory is missing.
Also adds LOBBY_WS_ALLOWED_ORIGIN so WebSocket origin checks pass
in production.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 73dfd33 commit caa6c58
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments