lrf há 2 anos atrás
pai
commit
17ee63aa1a
1 ficheiros alterados com 8 adições e 3 exclusões
  1. 8 3
      vue.config.js

+ 8 - 3
vue.config.js

@@ -20,6 +20,11 @@ module.exports = {
       '/files': {
         target: 'http://broadcast.waityou24.cn',
       },
+      '/dev/point/v1/api': {
+        target: 'http://127.0.0.1', // 127.0.0.1:13003
+        changeOrigin: true,
+        ws: false,
+      },
       '/point/v1/api': {
         target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
         changeOrigin: true,
@@ -29,9 +34,9 @@ module.exports = {
         target: 'https://broadcast.waityou24.cn', // 127.0.0.1:13003
         changeOrigin: true,
         ws: false,
-        pathRewrite: {
-          '^/dev/point/zr/v1/api': '/point/zr/v1/api',
-        },
+        // pathRewrite: {
+        //   '^/dev/point/zr/v1/api': '/point/zr/v1/api',
+        // },
       },
     },
   },