zhangzengfei
2023-11-29 0d3db253cad1fb49c4fae9b9a537c8c318c7172f
vue.config.js
@@ -67,7 +67,9 @@
  // }
})
const serverUrl = "http://192.168.20.189:7009"
// const serverUrl = "http://192.168.20.189:7009";
const serverUrl = "http://192.168.20.2:7009"
//const serverUrl = "http://192.168.20.116:7009";
const iotdataServerUrl = "http://192.168.8.10:9000"
// const cir = require("circular-dependency-plugin");
@@ -115,14 +117,14 @@
        // ws: true,
        changeOrigin: true
      },
      "/data/api-v/app/findAllApp": {
        // target: '/',
        target: "http://localhost:8081/",
        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