From 5d199c2cdb738a660e71a0ba73aa9ec941c62df1 Mon Sep 17 00:00:00 2001 From: Quentin Date: Sun, 11 Oct 2026 18:04:47 +0800 Subject: [PATCH] =?UTF-8?q?deploy:=20venv=20=E7=A7=BB=E5=88=B0=20~/book-mc?= =?UTF-8?q?p-venv=EF=BC=88=E9=81=BF=E5=85=8D=20/opt=20=E6=97=A0=E6=9D=83?= =?UTF-8?q?=E9=99=90=EF=BC=89=EF=BC=9Bdev=20=E7=AB=AF=E5=8F=A3=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=205173?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/install.sh | 2 +- frontend/config/vite.config.dev.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/install.sh b/deploy/install.sh index 817a023..5c91347 100755 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -47,7 +47,7 @@ fi # 2. Python venv + 依赖 # ============================================================ log "→ 准备 Python venv" -VENV=/opt/book-mcp-venv +VENV=$HOME/book-mcp-venv if [ ! -d "$VENV" ]; then python3 -m venv "$VENV" log " ✓ venv 创建" diff --git a/frontend/config/vite.config.dev.ts b/frontend/config/vite.config.dev.ts index d96ebd2..5a69bed 100644 --- a/frontend/config/vite.config.dev.ts +++ b/frontend/config/vite.config.dev.ts @@ -7,7 +7,7 @@ export default mergeConfig( mode: 'development', server: { host: '0.0.0.0', // 允许局域网访问 - port: 5176, + port: 5173, open: false, fs: { strict: true,