4 Commits

Author SHA1 Message Date
e5fa002d12 fix: remove hardcoded prod/local browser URLs from app dev bundle
- Create centralized src/config/apiConfig.ts for API_BASE, TLSYNC_URL,
  WHISPERLIVE_URL, and SEARCH_URL resolution
- Fix multiplayerUser.tsx to use VITE_TLSYNC_URL instead of deriving
  from VITE_FRONTEND_SITE_URL (was pointing to prod TLSync)
- Replace all 127.0.0.1:8080 fallbacks with /api (relative path)
- Replace all localhost:8000 fallbacks with VITE_API_BASE || /api
- Remove hardcoded https://api.classroomcopilot.ai production fallbacks
  from transcription store and panel
- Fix axiosConfig.ts to use centralized API config
- Update .env.dev: set VITE_TLSYNC_URL to dev frontend URL
- Update .env.development: fix VITE_SEARCH_URL from localhost to prod
- Add missing env var type declarations to vite-env.d.ts

Fixes: t_73d78fb1
2026-05-28 13:29:47 +01:00
6642d5fa22 docs: add .env.example with all app environment variables 2026-05-27 21:55:27 +01:00
3b4876793e latest 2025-11-14 14:47:26 +00:00
8a7ab3ac24 Initial commit 2025-07-11 13:21:49 +00:00