修改配置文件2

develoop
喻忠伟 2 weeks ago
parent 8a346ed814
commit 82738012e1
  1. 2
      .env.development
  2. 6
      .env.production
  3. BIN
      dist.zip

@ -1,6 +1,8 @@
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 # 变量必须以 VITE_ 为前缀才能暴露给外部读取
NODE_ENV = 'development' NODE_ENV = 'development'
VITE_APP_TITLE = '教学一体化平台' VITE_APP_TITLE = '教学一体化平台'
#访问接口
VITE_APP_BASE_API = 'http://127.0.0.1:8080' VITE_APP_BASE_API = 'http://127.0.0.1:8080'
# VITE_APP_BASE_API = 'http://10.100.200.177:8080' # VITE_APP_BASE_API = 'http://10.100.200.177:8080'
#跳转后台页面
VITE_ADMIN_URL = '182.92.169.222/portalhome' VITE_ADMIN_URL = '182.92.169.222/portalhome'

@ -1,5 +1,7 @@
NODE_ENV = 'production' NODE_ENV = 'production'
VITE_APP_TITLE = '教学一体化平台' VITE_APP_TITLE = '教学一体化平台'
# VITE_APP_BASE_API = '/api' # VITE_APP_BASE_API = '/api'
VITE_ADMIN_URL = 'http://127.0.0.1:8080' #访问接口
VITE_ADMIN_URL = 'http://127.0.0.1/portalhome' VITE_APP_BASE_API = 'http://182.92.169.222/jxyth'
#跳转后台页面
VITE_ADMIN_URL = 'http://182.92.169.222/portalhome'

Binary file not shown.
Loading…
Cancel
Save