chore: 更新开发环境配置以支持局域网访问

修改前端和后端的.env文件,将API基础URL和服务器主机地址更改为局域网IP,以便在局域网内进行开发和测试
This commit is contained in:
zhangtao
2025-05-06 21:30:44 +08:00
parent 8a26c715bb
commit eb46919de3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
VITE_ENV = development
# 后端地址
VITE_API_BASE_URL = "http://localhost:8000"
VITE_API_BASE_URL = "http://192.168.0.101:8000"
# 后端接口基础路径
VITE_API_BASE_NAME = "/api"