zhangzengfei
2023-09-06 c0c034b3ef0fdf0fd9c802d5984dbd717db6817a
vue.config.js
@@ -67,7 +67,8 @@
  // }
});
const serverUrl = "http://192.168.20.189:7009";
// const serverUrl = "http://192.168.20.189:7009";
const serverUrl = "http://192.168.20.116:7009";
//const serverUrl = "http://192.168.20.116:7009";
const iotdataServerUrl = "http://192.168.8.10:9000";
@@ -116,14 +117,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,