Jelajahi Sumber

修改客户发布配置

liqianyi 3 hari lalu
induk
melakukan
31c177d645
2 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 2 2
      config/index.js
  2. 1 1
      src/views/main.vue

+ 2 - 2
config/index.js

@@ -16,8 +16,8 @@ module.exports = {
       '/proxyApi': {
         // 线上环境
         target: 'https://www.muzhikeji.cn/api',
-        // 客户环境
-        // target: 'https://192.168.2.110/api',
+        // 东齐环境
+        // target: 'https://192.168.2.124/api',
         // 客户环境2
         // target: 'https://192.168.110.222/api',
         changeOrigin: true,

+ 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', 'wss://192.168.2.110/wss/web_socket/' + data.data.userId + '_' + (Math.ceil(Math.random() * 100000000)).toString())
+            // this.$store.dispatch('websocket/WEBSOCKET_INIT', 'wss://192.168.2.124/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())
           }