lilei 2 yıl önce
ebeveyn
işleme
6c7d7dbf1b
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      .env.preview
  2. 1 1
      vue.config.js

+ 1 - 1
.env.preview

@@ -1,6 +1,6 @@
 NODE_ENV=production
 VUE_APP_PREVIEW=true
-VUE_APP_API_BASE_URL=http://p.ocs.360arrow.com/ocs-admin
+VUE_APP_API_BASE_URL=https://p.ocs.360arrow.com/ocs-admin
 VUE_APP_WX_BASE_URL=//p.ocs.360arrow.com/ocs-admin/websocket/
 VUE_APP_VERSION=V1.0.1
 VUE_APP_ENVTIPS=预发布环境

+ 1 - 1
vue.config.js

@@ -110,7 +110,7 @@ const vueConfig = {
       '/api': {
         // target: 'http://192.168.2.111/ocs-admin',
         // target: 'https://t.ocs.360arrow.com/ocs-admin', //  练习
-        target: 'http://p.ocs.360arrow.com/ocs-admin', //  预发布
+        target: 'https://p.ocs.360arrow.com/ocs-admin', //  预发布
         ws: false,
         changeOrigin: true,
         pathRewrite: {