mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-23 13:13:09 +00:00
chore: 更新开发环境配置以支持局域网访问
修改前端和后端的.env文件,将API基础URL和服务器主机地址更改为局域网IP,以便在局域网内进行开发和测试
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user