zs 1 年之前
父節點
當前提交
dc0240d60c
共有 1 個文件被更改,包括 9 次插入15 次删除
  1. 9 15
      vue.config.js

+ 9 - 15
vue.config.js

@@ -18,60 +18,54 @@ module.exports = {
     port: '9001',
     proxy: {
       '/ws': {
-        target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
+        target: 'https://broadcast.waityou24.cn', // https://broadcast.waityou24.cn
         ws: true,
       },
       '/files': {
         target: 'https://broadcast.waityou24.cn',
       },
       '/dev/point/one/v1/api': {
-        target: 'http://127.0.0.1:12211', // 127.0.0.1:13003
+        target: 'http://127.0.0.1:12211', // http://127.0.0.1:12211
         changeOrigin: true,
         ws: false,
       },
       '/point/one/v1/api': {
-        target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
+        target: 'https://broadcast.waityou24.cn', // http://127.0.0.1:12211
         changeOrigin: true,
         ws: false,
       },
       // 团购
       '/dev/point/one/group/v1/api': {
-        target: 'http://127.0.0.1:12213', // 127.0.0.1:13003
+        target: 'http://127.0.0.1:12213', // http://127.0.0.1:12213
         changeOrigin: true,
         ws: false,
       },
       '/point/one/group/v1/api': {
-        target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
+        target: 'https://broadcast.waityou24.cn', // http://127.0.0.1:12213
         changeOrigin: true,
         ws: false,
       },
       // 聊天
       '/dev/point/one/chat/v1/api': {
-        target: 'http://127.0.0.1:12214', // 127.0.0.1:13003
+        target: 'http://127.0.0.1:12214', // http://127.0.0.1:12214
         changeOrigin: true,
         ws: false,
       },
       '/point/one/chat/v1/api': {
-        target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
+        target: 'https://broadcast.waityou24.cn', // http://127.0.0.1:12214
         changeOrigin: true,
         ws: false,
       },
       // 尊荣
       '/dev/point/one/zr/v1/api': {
-        target: 'http://127.0.0.1:12212', // 127.0.0.1:13003
+        target: 'http://127.0.0.1:12212', // http://127.0.0.1:12212
         changeOrigin: true,
         ws: false,
-        // pathRewrite: {
-        //   '^/dev/point/zr/v1/api': '/point/zr/v1/api',
-        // },
       },
       '/point/one/zr/v1/api': {
-        target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
+        target: 'https://broadcast.waityou24.cn', // http://127.0.0.1:12212
         changeOrigin: true,
         ws: false,
-        // pathRewrite: {
-        //   '^/dev/point/zr/v1/api': '/point/zr/v1/api',
-        // },
       },
     },
   },