zhangzengfei
2022-07-20 4a800a8fc83c6bd1f86a8e847b079a51a7532c09
vue.config.js
@@ -67,8 +67,8 @@
  // }
});
//const serverUrl = "http://192.168.20.189:7009"
const serverUrl = "http://192.168.20.116:7009";
const serverUrl = "http://192.168.20.189:7009";
//const serverUrl = "http://192.168.20.116:7009";
const iotdataServerUrl = "http://192.168.8.10:9000";
// const cir = require("circular-dependency-plugin");
@@ -116,14 +116,14 @@
        // ws: true,
        changeOrigin: true,
      },
      "/data/api-v/app/findAllApp": {
        // target: '/',
        target: "http://localhost:8080/",
        changeOrigin: true,
        pathRewrite: {
          "^/data/api-v/app/findAllApp": "apps.json",
        },
      },
      // "/data/api-v/app/findAllApp": {
      //   // target: '/',
      //   target: "http://localhost:8080/",
      //   changeOrigin: true,
      //   pathRewrite: {
      //     "^/data/api-v/app/findAllApp": "apps.json",
      //   },
      // },
      "/api-c": {
        target: serverUrl,
        changeOrigin: true,