From 3d75c9b569f53294085f24873bd38cb8f7c4cb57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E8=8B=A5?= Date: Sun, 8 Mar 2026 17:44:03 +0800 Subject: [PATCH] =?UTF-8?q?sync:=20=E5=A4=9A=E6=96=87=E4=BB=B6=20|=20?= =?UTF-8?q?=E5=8E=9F=E5=9B=A0:=20=E6=9C=AC=E5=9C=B0=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 本机运行文档.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/本机运行文档.md b/本机运行文档.md index 5128852e..7cdbd28a 100644 --- a/本机运行文档.md +++ b/本机运行文档.md @@ -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 主站)