ZZJ
2021-11-24 bbe33e5fd87e5961fdab804bfb0b4cf354e0c5b2
vue.config.js
@@ -41,9 +41,10 @@
});
// const serverUrl = "http://58.118.225.79:41243" // 羊五
// const serverUrl = "http://192.168.8.10:7009";
const serverUrl = "http://192.168.20.189:7009";
// const serverUrl = "http://192.168.20.10:9000";
const serverUrl = "http://192.168.8.10:7009";
const serverUrl2 = "http://192.168.8.10:9000";
// const serverUrl = "http://192.168.20.10:7009";
// const serverUrl2 = "http://192.168.20.10:9000";
// const cir = require("circular-dependency-plugin");
@@ -92,7 +93,7 @@
      },
      "/data/api-v/app/findAllApp": {
        // target: '/',
        target: "http://localhost:8081/",
        target: "http://localhost:8080/",
        changeOrigin: true,
        pathRewrite: {
          "^/data/api-v/app/findAllApp": "apps.json",
@@ -129,7 +130,7 @@
        changeOrigin: true, //开启代理
      },
      "/temp": {
        target: serverUrl,
        target: serverUrl2,
        changeOrigin: true, //开启代理,
        pathRewrite: {
          "/temp": "",