ZZJ
2021-11-24 3ebbc2428787332807d6de215dd23072079b800c
vue.config.js
@@ -40,7 +40,7 @@
  // }
});
// const serverUrl = "http://58.118.225.79:41243" // 羊五
// const serverUrl = "http://192.168.20.189/:7009"; // 羊五
const serverUrl = "http://192.168.8.10:7009";
const serverUrl2 = "http://192.168.8.10:9000";
// const serverUrl = "http://192.168.20.10:7009";
@@ -129,12 +129,9 @@
        target: serverUrl,
        changeOrigin: true, //开启代理
      },
      "/temp": {
      "/iotdata": {
        target: serverUrl2,
        changeOrigin: true, //开启代理,
        pathRewrite: {
          "/temp": "",
        },
      },
    },
  },