Commit 2c414ae
committed
fix(前端配置): 自动设置API基础URL以支持跨设备访问
将硬编码的API基础URL改为动态获取当前域名和端口,使前端在不同网络环境下都能正确访问后端服务。1 parent a7eff2f commit 2c414ae
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments