修改配置
This commit is contained in:
@@ -49,7 +49,7 @@ print_svc_status "build-server" ":8281"
|
||||
echo ""
|
||||
echo -e "${BOLD}[ 前端开发服务器 ]${NC}"
|
||||
declare -A FE_PORT_MAP=(
|
||||
[pc]="7777 (Electron Vite)"
|
||||
[pc]="5173 (yarn dev:web)"
|
||||
[meetingh5]="5188"
|
||||
[h5]="3003"
|
||||
[cms]="8001"
|
||||
@@ -69,7 +69,7 @@ done
|
||||
# ── 端口占用检查 ──────────────────────────────────────────────────────────────
|
||||
echo ""
|
||||
echo -e "${BOLD}[ 端口占用 ]${NC}"
|
||||
PORTS=(10002 10001 10008 10009 8000 8080 8081 8281 7777 5188 3003 8001 8002 8003)
|
||||
PORTS=(10002 10001 10008 10009 8000 8080 8081 8281 5173 5188 3003 8001 8002 8003)
|
||||
for port in "${PORTS[@]}"; do
|
||||
pid=$(lsof -ti :"$port" 2>/dev/null | head -1 || true)
|
||||
if [[ -n "$pid" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user