🔧 修复:前端使用 build 目录启动

This commit is contained in:
2026-04-04 18:55:33 +08:00
parent fb740eb703
commit 82bdb91fb8

View File

@@ -35,7 +35,7 @@ sleep 3
# 启动前端
echo "🚀 启动前端服务 (端口 4000)..."
cd "$FRONTEND_DIR"
cd "$FRONTEND_DIR/build"
nohup python3 -m http.server 4000 --bind 127.0.0.1 > /tmp/monitoring-frontend.log 2>&1 &
FRONTEND_PID=$!