managarten/apps
Wuesteon 44608074fc fix(chat-web): inject runtime env vars for client-side auth
Problem: Browser was calling localhost:3001 instead of staging server IP
because environment variables from Docker aren't available client-side.

Solution:
1. Add PUBLIC_*_CLIENT env vars to docker-compose.staging.yml for browser URLs
2. Inject these into window.__PUBLIC_*__ via hooks.server.ts transformPageChunk
3. Auth store reads from window variable for client-side requests

This pattern properly handles:
- SSR: Uses Docker internal URLs (http://mana-core-auth:3001)
- Client: Uses public URLs (http://46.224.108.214:3001)
- Local dev: Falls back to localhost

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 03:38:53 +01:00
..
calendar Fix wrong type 2025-12-04 23:25:25 +01:00
chat fix(chat-web): inject runtime env vars for client-side auth 2025-12-05 03:38:53 +01:00
contacts Fix wrong type 2025-12-04 23:25:25 +01:00
maerchenzauber/apps fix lint 2025-12-04 00:32:13 +01:00
manacore Fix wrong type 2025-12-04 23:25:25 +01:00
manadeck Fix wrong type 2025-12-04 23:25:25 +01:00
memoro/apps/mobile fix lint 2025-12-04 00:32:13 +01:00
nutriphi/apps fix lint 2025-12-04 00:32:13 +01:00
picture Fix wrong type 2025-12-04 23:25:25 +01:00
presi Fix wrong type 2025-12-04 23:25:25 +01:00
quote/apps fix lint 2025-12-04 00:32:13 +01:00
reader/apps/mobile improve code quality 2025-12-03 23:42:37 +01:00
storage Fix wrong type 2025-12-04 23:25:25 +01:00
wisekeep/apps fix lint 2025-12-04 00:32:13 +01:00
zitare Fix wrong type 2025-12-04 23:25:25 +01:00