Files
VibeCoding/WebRTCControllerWeb/.env.example
TongTongStudio e6ed7c8e3e feat(webrtc): 完善前端会话恢复、设备绑定与开发代理配置
- 控制端新增页面刷新后自动恢复登录会话,并展示恢复中状态
- 支持被控端配对码绑定、设备在线状态标记及离线设备禁用连接
- 优化登录流程,支持双因子验证码输入
- 修复 API 客户端令牌刷新逻辑,增加认证失败统一回调
- 信令地址支持环境变量推导,ICE 服务器支持自定义配置
- 管理后台强制开发态走 Vite 代理,避免跨域和 IP 不可达问题
- 修复 tsconfig.node.json 产物干扰 vite 配置加载的构建问题
- 添加 .env.example 作为环境变量配置模板
2026-08-03 02:44:52 +08:00

13 lines
572 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ============================================================
# WebRTC 控制端前端配置模板(复制为 .env 后按需修改,勿提交真实 .env
# ============================================================
# 后端 API 基地址:开发态留空走 Vite 代理;生产态填浏览器可访问的后端地址。
VITE_API_BASE=
# 信令 WebSocket 地址:留空则按 VITE_API_BASE 推导为 <ws/wss>://host:port/ws/signal
VITE_WS_URL=
# 兜底 STUN 服务器(多个以 ; 分隔)
VITE_FALLBACK_ICE=stun:175.178.213.60:3478;stun:47.242.112.133:3478