This commit is contained in:
vet
2026-04-21 09:55:37 +07:00
parent d630b757d7
commit 26894b9838

View File

@@ -62,8 +62,8 @@ declare -A FE_CMD=(
[pc]="yarn dev:web"
[meetingh5]="npm run dev"
[h5]="npm run dev"
[cms]="pnpm run dev -- --host 0.0.0.0 --port 8001"
[build-cms]="pnpm run dev -- --host 0.0.0.0 --port 8002"
[cms]="pnpm exec max dev --host 0.0.0.0 --port 8001"
[build-cms]="pnpm exec max dev --host 0.0.0.0 --port 8002"
[build-down]="npx umi dev --host 0.0.0.0 --port 8003"
)
@@ -72,8 +72,8 @@ declare -A FE_ENV=(
[pc]=""
[meetingh5]=""
[h5]=""
[cms]="HOST=0.0.0.0 PORT=8001"
[build-cms]="HOST=0.0.0.0 PORT=8002"
[cms]="REACT_APP_ENV=dev MOCK=none UMI_ENV=dev HOST=0.0.0.0 PORT=8001"
[build-cms]="MOCK=none UMI_ENV=dev HOST=0.0.0.0 PORT=8002"
[build-down]="NODE_OPTIONS=--openssl-legacy-provider HOST=0.0.0.0 PORT=8003"
)