From 120e6dc2c1956bcbe67200616da7ff3bb150901b Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 11 Oct 2024 21:30:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=9F=E4=BA=A7=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E5=92=8C=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 此更改涉及更新.env.production文件中的VITE_NOW_TYPE和VITE_APP_BASE_URL变量: - 将VITE_NOW_TYPE从注释状态修改为实际值'build/admin' - 将VITE_APP_BASE_URL从注释状态修改为实际值'https://multi-store.lihaink.cn' - 将之前的生产环境配置值注释掉 这些更改确保了在生产环境中使用正确的域名和类型配置。 --- .env.production | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.production b/.env.production index 438d286c5..a05fcadef 100644 --- a/.env.production +++ b/.env.production @@ -2,9 +2,9 @@ NODE_ENV = 'production' # Base API # 测试域名 -# VITE_NOW_TYPE = 'dist/admin' -# VITE_APP_BASE_URL='https://ceshi-multi-store.lihaink.cn' +VITE_NOW_TYPE = 'dist/admin' +VITE_APP_BASE_URL='https://ceshi-multi-store.lihaink.cn' # 正式域名 -VITE_NOW_TYPE = 'build/admin' -VITE_APP_BASE_URL='https://multi-store.lihaink.cn' \ No newline at end of file +# VITE_NOW_TYPE = 'build/admin' +# VITE_APP_BASE_URL='https://multi-store.lihaink.cn' \ No newline at end of file