feat: 配置局域网IP访问与4312端口

This commit is contained in:
GJ committed 2026-09-04 18:31:51 +08:00
1 parent 50b3461ebc
commit c483b1912e
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ cp .env.example .env
pnpm dev
```
浏览器访问 http://localhost:5173。先在后端仓库启动 `pnpm dev`,默认监听 **3412**。
浏览器访问 http://localhost:4312。开发服务器会监听所有网卡,并在启动日志中输出局域网 IP;先在后端仓库启动 `pnpm dev`,默认监听 **3412**。
```dotenv
VITE_API_BASE_URL=/api