浏览代码

新增客户环境2(Ubuntu系统)的配置

chrislee 5 月之前
父节点
当前提交
65a1c6b9c8
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      config/index.js
  2. 2 0
      src/views/main.vue

+ 2 - 0
config/index.js

@@ -18,6 +18,8 @@ module.exports = {
         target: 'https://www.muzhikeji.cn/api',
         // 客户环境
         // target: 'https://192.168.2.110/api',
+        // 客户环境2
+        // target: 'https://192.168.110.222/api',
         changeOrigin: true,
         pathRewrite: {
           '^/proxyApi': ''

+ 2 - 0
src/views/main.vue

@@ -97,6 +97,8 @@
             this.$store.dispatch('websocket/WEBSOCKET_INIT', 'wss://www.muzhikeji.cn/wss/web_socket/' + data.data.userId + '_' + (Math.ceil(Math.random() * 100000000)).toString())
             // 客户环境
             // this.$store.dispatch('websocket/WEBSOCKET_INIT', 'wss://192.168.2.110/wss/web_socket/' + data.data.userId + '_' + (Math.ceil(Math.random() * 100000000)).toString())
+            // 客户环境2
+            // this.$store.dispatch('websocket/WEBSOCKET_INIT', 'wss://192.168.110.222/wss/web_socket/' + data.data.userId + '_' + (Math.ceil(Math.random() * 100000000)).toString())
           }
         })
       }