fix: h5
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 57s

This commit is contained in:
luo
2026-07-03 10:43:14 +08:00
parent 6d324214c8
commit 808e7e40dd
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ RUN pnpm install --frozen-lockfile
COPY . .
# 构建 H5 测试版本
RUN pnpm build:h5
RUN pnpm build:h5-test
# ================================
# 阶段 2: 运行阶段

2
env/.env.test vendored
View File

@@ -5,7 +5,7 @@ VITE_APP_ENV=staging
VITE_API_BASE_URL=https://cmp-api.boss160.cn
# 是否使用代理 (测试环境不使用代理)
VITE_APP_PROXY=true
VITE_APP_PROXY=false
# 代理前缀
VITE_API_PREFIX=/api

View File

@@ -42,7 +42,7 @@
"dev:app": "uni -p app",
"dev:app-android": "uni -p app-android",
"dev:app-ios": "uni -p app-ios",
"build:h5": "uni build --mode development",
"build:h5": "uni build",
"build:h5:ssr": "uni build --ssr",
"build:h5-test": "uni build --mode test",
"build:h5-prod": "uni build --mode production",