From 4bc5b3655d5f6b2b2445494bbf00c8bdab9b05dd Mon Sep 17 00:00:00 2001 From: wuyong Date: Thu, 11 Aug 2022 17:05:09 +0800 Subject: [PATCH] update --- .env.production | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.env.production b/.env.production index 7e4bb62..57f1655 100644 --- a/.env.production +++ b/.env.production @@ -16,10 +16,14 @@ VITE_BUILD_COMPRESS = 'gzip' VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false #后台接口父地址(必填) -VITE_GLOB_API_URL=/jeecgboot +# VITE_GLOB_API_URL=/jeecgboot +VITE_GLOB_API_URL=http://114.115.138.227:8080/jeecg-boot + +# 跨域代理,您可以配置多个 ,请注意,没有换行符 +VITE_PROXY = [["/jeecgboot","http://114.115.138.227:8080/jeecg-boot"],["/upload","http://114.115.138.227:3300/upload"]] #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://jeecg-boot-system:8080/jeecg-boot +VITE_GLOB_DOMAIN_URL=http://114.115.138.227:8080/jeecg-boot # 接口父路径前缀 VITE_GLOB_API_URL_PREFIX= @@ -34,6 +38,6 @@ VITE_USE_PWA = false VITE_LEGACY = false NODE_ENV=production -VUE_APP_API_BASE_URL=http://localhost:8080/jeecg-boot -VUE_APP_CAS_BASE_URL=http://localhost:8888/cas +VUE_APP_API_BASE_URL=http://114.115.138.227:8080/jeecg-boot +VUE_APP_CAS_BASE_URL=http://114.115.138.227:8888/cas VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview