From da80c1fb413fbfa08d01955e2be191d22402e007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Thu, 1 Feb 2024 16:05:25 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- env/.env | 3 ++- env/.env.production | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/env/.env b/env/.env index 1eb0b1b..da09947 100644 --- a/env/.env +++ b/env/.env @@ -1,7 +1,8 @@ VITE_APP_TITLE = 'UniBest App' VITE_APP_PORT = 9000 + # github actions 部署地址根路径,用在 manifest.config.ts 里面的 h5.router.base -VITE_APP_PUBLIC_BASE=/unibest/ +VITE_APP_PUBLIC_BASE=/ # TODO: 记得修改 VITE_UNI_APPID = 'H5871D791' diff --git a/env/.env.production b/env/.env.production index 96ca98e..c409320 100644 --- a/env/.env.production +++ b/env/.env.production @@ -4,3 +4,6 @@ NODE_ENV = 'development' VITE_DELETE_CONSOLE = true VITE_SERVER_BASEURL = 'https://xxx.com' + +# github actions 部署地址根路径,用在 manifest.config.ts 里面的 h5.router.base +VITE_APP_PUBLIC_BASE=/unibest/