From fcc77c977b0c2facab7b3b846800155deab056c6 Mon Sep 17 00:00:00 2001 From: john Date: Thu, 8 Oct 2026 14:07:27 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=AD=A3=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E9=83=A8=E7=BD=B2=E8=B7=AF=E5=BE=84=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=20/hegui/=20=E2=86=92=20/hg/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Code --- ry-vue3/.env.test | 2 +- ry-vue3/vite.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ry-vue3/.env.test b/ry-vue3/.env.test index eae21ab..9c4da2f 100644 --- a/ry-vue3/.env.test +++ b/ry-vue3/.env.test @@ -1,7 +1,7 @@ # 测试环境 API 基路径 (nginx 反向代理前缀) VITE_APP_BASE_API = '/hg-api' -# 测试环境静态资源子路径 (nginx 部署在 /hegui/) +# 测试环境静态资源子路径 (nginx 部署在 /hg/) VITE_BASE = '/hg/' # 执行方(供应商)注册跳转地址 (测试环境) diff --git a/ry-vue3/vite.config.js b/ry-vue3/vite.config.js index 0d43f5a..bc6be22 100644 --- a/ry-vue3/vite.config.js +++ b/ry-vue3/vite.config.js @@ -10,7 +10,7 @@ export default defineConfig(({ mode }) => { // 开发 API 前缀 = /dev-api (Vite dev proxy), 生产 = /hg-api (nginx 反代) const apiPath = env.VITE_APP_BASE_API || '/dev-api' return { - // 部署基路径: prod = / (.env.production), test = /hegui/ (.env.test), 开发默认 / + // 部署基路径: prod = / (.env.production), test = /hg/ (.env.test), 开发默认 / base: env.VITE_BASE || '/', plugins: [ vue(),