- Add PUBLIC_SERVER_URL environment variable for client-side connections
- Update /api/config endpoints to return public HTTPS URLs for frontend
- Keep internal HTTP URLs for server-to-server communication
- Resolves SSL certificate verification issues in admin service
- Maintains secure WSS/HTTPS connections for clients
- Production (NODE_ENV=production): serves dist/ directory first
- Development: serves current directory only, ignores dist/
- Prevents conflicts when dist/ exists in development
- Clear error message if production build not found
- Serve dist/index.html first for production builds
- Reorder static middleware to prioritize dist over dev files
- Add proper fallback to dev files if dist doesn't exist
- Should resolve JavaScript module MIME type errors
- Change VITE_SERVER_URL to SERVER_URL in docker-compose
- Add dist directory serving for built assets
- Configure Express to serve JS modules with correct MIME type
- Fix undefined Game Server in containers