diff --git a/start.sh b/start.sh index ae0fd42..407287f 100755 --- a/start.sh +++ b/start.sh @@ -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=$!