From 32f35495497d325079198b54933a6323144ee7bd Mon Sep 17 00:00:00 2001 From: bai <1643359946@qq.com> Date: Mon, 19 Jun 2023 11:30:09 +0800 Subject: [PATCH] =?UTF-8?q?2023=E5=B9=B46=E6=9C=8819=E6=97=A5=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 3 --- .env.development | 5 ++++- .env.production | 6 +++++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.env b/.env index cb34512..bdb9a3a 100644 --- a/.env +++ b/.env @@ -10,9 +10,6 @@ VITE_GLOB_APP_SHORT_NAME = CourseInformationCenter # 单点登录服务端地址 VITE_GLOB_APP_CAS_BASE_URL=https://authserver.nenu.edu.cn/authserver -# 是否开启单点登录 -VITE_GLOB_APP_OPEN_SSO =false - # 开启微前端模式 VITE_GLOB_APP_OPEN_QIANKUN=true diff --git a/.env.development b/.env.development index 6ed7af9..ec48248 100644 --- a/.env.development +++ b/.env.development @@ -23,4 +23,7 @@ VITE_GLOB_API_URL_PREFIX= VITE_APP_SUB_jeecg-app-1 = '//localhost:8092' #RTC服务器地址, -VITE_GLOB_RTC_SERVER = http://GTR6-83T4P40:9001 \ No newline at end of file +VITE_GLOB_RTC_SERVER = http://GTR6-83T4P40:9001 + +# 是否开启单点登录 +VITE_GLOB_APP_OPEN_SSO = false diff --git a/.env.production b/.env.production index 8642cbc..45257e4 100644 --- a/.env.production +++ b/.env.production @@ -28,10 +28,14 @@ VITE_GLOB_RTC_SERVER = https://zxkccx.webvpn.nenu.edu.cn:8081 VITE_GLOB_API_URL_PREFIX= # 是否启用图像压缩 -VITE_USE_IMAGEMIN= true +VITE_USE_IMAGEMIN = true # 使用pwa VITE_USE_PWA = false # 是否兼容旧浏览器 VITE_LEGACY = false + +# 是否开启单点登录 +VITE_GLOB_APP_OPEN_SSO = true +