diff --git a/.env.staging b/.env.staging index 587a1dcf..2bddb0b0 100644 --- a/.env.staging +++ b/.env.staging @@ -1,19 +1,16 @@ # 页面标题 VUE_APP_TITLE = 管理系统 +# NODE_ENV='production' -NODE_ENV = production - -# 测试环境配置 +# 生产环境配置 ENV = 'staging' -VUE_APP_VERSION = '20240516' +VUE_APP_VERSION = '20240520' -# 测试环境 -VUE_APP_BASE_API = '/stage-api' +# 管理系统/生产环境 VUE_APP_PDOMAIN = 'tanex56' VUE_APP_DATA_FROM = 'pc' -VUE_APP_BASE_API = 'http://tst-api.emis.tanex56.com/api/bizsvr' - -VUE_APP_WS_HOST = 'ws://test-api.emis.tanex56.com/api/bizsvr' +VUE_APP_BASE_API = 'https://tst-api.emis.tanex56.com/api/bizsvr' +VUE_APP_WS_HOST = 'wss://tst-api.emis.tanex56.com/api/bizsvr' VUE_APP_PRINTER_HOST = '127.0.0.1:17080' diff --git a/vue.config.js b/vue.config.js index 7ced780c..58fbee1c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -75,7 +75,7 @@ module.exports = { }, configureWebpack: config => { // 开发环境不配置 - if (process.env.NODE_ENV !== 'production') return + if (process.env.NODE_ENV !== 'production' ) return // 生产环境才去配置 return {