This commit is contained in:
vet
2026-04-21 12:24:04 +07:00
parent 67ab5f5ba5
commit 6eb89ad2a9
15 changed files with 421 additions and 170 deletions

View File

@@ -104,10 +104,10 @@ CF_CUSTOMER_CODE=huonxouoa55ent9z
TENCENT_SDK_APP_ID=20033091
TENCENT_SDK_SECRET_KEY=cceba44084aaa04f8c48a1858ffd5385875c3a5ec006d34278d9d3714b40e3b0
# ── PC 客户端Vite dev:web对接的后端公网地址可选───────────────────────
# ── PC 静态站点对接的后端公网地址(可选)──────────────────────────────────────
# 通过域名访问 Nginx 反代sudo ./deploy-test/00-init-tools.sh nginx
# 填写 HTTPS 根地址无末尾斜杠Nginx 会将 / 代理到 pc dev:web :5173,并代理 API/WS。
# ./deploy-test/07-start-frontend.sh 启动 pc 时会 export VITE_*,覆盖 pc/.env无需改 pc 目录
# 填写 HTTPS 根地址无末尾斜杠Nginx 会将 / 指向 /app/pc/dist,并代理 API/WS。
# ./deploy-test/08-build-static-frontend.sh 构建 pc 时会 export VITE_*,覆盖 pc/.env无需改 pc 目录
# 若某路径与网关不一致可单独覆盖PC_VITE_API_URL / PC_VITE_WS_URL / PC_VITE_CHAT_URL / PC_VITE_USER_URL
PC_PROXY_DOMAIN=pc-jack.imharry.work
PC_BACKEND_ORIGIN=https://pc-jack.imharry.work