deploy: venv 移到 ~/book-mcp-venv(避免 /opt 无权限);dev 端口默认 5173

This commit is contained in:
2026-10-11 18:04:47 +08:00
parent 9b0910ccb1
commit 5d199c2cdb
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ fi
# 2. Python venv + 依赖 # 2. Python venv + 依赖
# ============================================================ # ============================================================
log "→ 准备 Python venv" log "→ 准备 Python venv"
VENV=/opt/book-mcp-venv VENV=$HOME/book-mcp-venv
if [ ! -d "$VENV" ]; then if [ ! -d "$VENV" ]; then
python3 -m venv "$VENV" python3 -m venv "$VENV"
log " ✓ venv 创建" log " ✓ venv 创建"

View File

@@ -7,7 +7,7 @@ export default mergeConfig(
mode: 'development', mode: 'development',
server: { server: {
host: '0.0.0.0', // 允许局域网访问 host: '0.0.0.0', // 允许局域网访问
port: 5176, port: 5173,
open: false, open: false,
fs: { fs: {
strict: true, strict: true,