/* Merge server into the frontend developer's Vite configuration. * Targets port 8080 (matching Docker Compose host port and direct-run python -m app.server --port 8080). * changeOrigin: false preserves the browser's Host (localhost:5173) and Origin headers. * ws: true proxies WebSocket connections for Live voice streams. */ export default { server: { host: 'localhost', port: 5173, strictPort: true, proxy: {'/api': {target: 'http://127.0.0.1:8080', ws: true, changeOrigin: false}} } };