forked from b2894lxlx/tuanwei-admin
00e0e70e85a99fddc8e48ae4f9962e4bd0d38e0d
线上后台登录请求被浏览器判为「(已屏蔽: mixed-content)」,因为 .env.production 里 VITE_API_URL 写的是明文 http://twai-api.gxmu.edu.cn/api,而后台以 https 部署。 改为 https://twai-api.gxmu.edu.cn/api(实测 /api/login 返回 200,证书有效)。 顺带说明:聊天用的 WebSocket 由该地址推导成 wss://<同 host>/chat/{userId}, 协议会自动跟随,不需要额外配置。
Description
No description provided
Languages
Vue
77.6%
TypeScript
13.1%
CSS
7.9%
JavaScript
1.1%
Less
0.2%
Other
0.1%