Explorar o código

客户环境:使用证书

liqianyi hai 10 meses
pai
achega
dc971630e8
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      config/index.js
  2. 1 1
      src/views/main.vue

+ 1 - 1
config/index.js

@@ -17,7 +17,7 @@ module.exports = {
         // 线上环境
         target: 'https://www.muzhikeji.cn/api',
         // 客户环境
-        // target: 'http://192.168.2.110/api',
+        // target: 'https://192.168.2.110/api',
         changeOrigin: true,
         pathRewrite: {
           '^/proxyApi': ''

+ 1 - 1
src/views/main.vue

@@ -96,7 +96,7 @@
             // 线上地址
             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', 'ws://192.168.2.110:10088/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())
           }
         })
       }