Browse Source

修改本地代理

daiqisheng 3 years ago
parent
commit
ccb21fa632
1 changed files with 9 additions and 1 deletions
  1. 9 1
      vue.config.js

+ 9 - 1
vue.config.js

@@ -100,6 +100,14 @@ module.exports = {
                     "^/market": "",
                 },
             },
+            "/market/mk": {
+                target: "http://192.168.1.9:9114",
+                ws: false,
+                changeOrigin: true,
+                pathRewrite: {
+                    "^/market": "",
+                },
+            },
             "/market/techcentergj": {
                 target: "http://192.168.1.9:9114",
                 ws: false,
@@ -109,7 +117,7 @@ module.exports = {
                 },
             },
             "/mkWangge": {
-                target: "http://192.168.1.19:9114",
+                target: "http://192.168.1.9:9114",
                 ws: false,
                 changeOrigin: true,
                 pathRewrite: {