From 7285d4223c96a76c3aa887d30385e4d88bf8c422 Mon Sep 17 00:00:00 2001 From: lizhongyuan3 Date: Fri, 17 Mar 2023 00:21:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E5=8A=A8=E6=89=93=E5=8C=85=20?= =?UTF-8?q?=E4=BB=85=E6=89=93=E5=8C=85=E5=89=8D=E7=AB=AF=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=8E=A5=E5=8F=A3=E5=BA=94=E8=AF=A5=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=20VITE=5FGLOB=5FAPI=5FURL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.en.md b/README.en.md index e764c7ca28..538b27ebec 100644 --- a/README.en.md +++ b/README.en.md @@ -277,7 +277,7 @@ PS: You can also run `pnpm start` directly on the server without packaging. #### Frontend webpage -1. Refer to the root directory `.env.example` file content to create `.env` file, modify `VITE_APP_API_BASE_URL` in `.env` at the root directory to your actual backend interface address. +1. Refer to the root directory `.env.example` file content to create `.env` file, modify `VITE_GLOB_API_URL` in `.env` at the root directory to your actual backend interface address. 2. Run the following command in the root directory and then copy the files in the `dist` folder to the root directory of your website service. [Reference information](https://cn.vitejs.dev/guide/static-deploy.html#building-the-app) diff --git a/README.md b/README.md index e11815f4fd..aa1e5f593f 100644 --- a/README.md +++ b/README.md @@ -279,7 +279,7 @@ PS: 不进行打包,直接在服务器上运行 `pnpm start` 也可 #### 前端网页 -1、修改根目录下 `.env` 文件中的 `VITE_APP_API_BASE_URL` 为你的实际后端接口地址 +1、修改根目录下 `.env` 文件中的 `VITE_GLOB_API_URL` 为你的实际后端接口地址 2、根目录下运行以下命令,然后将 `dist` 文件夹内的文件复制到你网站服务的根目录下