refactor: 前端 WebSocket 地址改为动态推导,添加 Vite 开发代理 #63
Owner
- websocket.ts: 移除硬编码 localhost:8080,基于 window.location 动态构建 WS URL
- vite.config.ts: 添加 /ws 和 /api 的 server.proxy 配置
- 同步更新 02-系统架构.md 和 03-接口文档.md 中的开发环境说明
- websocket.ts: 移除硬编码 localhost:8080,基于 window.location 动态构建 WS URL
- vite.config.ts: 添加 /ws 和 /api 的 server.proxy 配置
- 同步更新 02-系统架构.md 和 03-接口文档.md 中的开发环境说明
huanghaosheng
added 1 commit 2026-06-14 13:01:30 +08:00
Merge pull request 'refactor: 前端 WebSocket 地址改为动态推导,添加 Vite 开发代理' (#63) from fix/frontend-proxy into develop
Reference in New Issue
Block a user
Delete Branch "fix/frontend-proxy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?