sync: 多文件 | 原因: 本地开发更新

This commit is contained in:
卡若
2026-03-08 17:44:03 +08:00
parent 0f6fb134dd
commit 3d75c9b569

View File

@@ -48,12 +48,12 @@ cd soul-api
### 2.2 启动管理后台soul-admin
```bash
npx serve soul-admin/dist -p 5174
cd soul-admin && pnpm dev
```
- 访问http://localhost:5174
- API 地址:默认请求 `https://soulapi.quwanzhi.com`;开发模式会切到 `https://souldev.quwanzhi.com`
- **本机联调**:在 `/etc/hosts` 添加 `127.0.0.1 soulapi.quwanzhi.com`,则管理后台会请求本机 8080
- API 地址:本地开发自动请求 `http://localhost:8080`(见 `.env.development`
- Mac 无法运行 soul-api 时:可临时改 `.env.development` `VITE_API_BASE_URL=https://souldev.quwanzhi.com`
### 2.3 启动主站soul 主站)