根因修复: 1. Nginx CORS 头缺失(跨域预检失败导致 fetch 抛出异常) 2. WebSocket /ws/preview 路由被 /ws 匹配到端口 8080(应路由到 3002) 3. 前端开发端口不匹配 (3721 → 3002) 增强: - 添加重试机制(最多2次重试) - 提供详细错误诊断信息 - 更新 nginx-api-proxy.conf 参考配置 - 修复 smoke test 默认端口 Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| contract | ||
| smoke | ||