ZZJ
2022-07-28 abe3a86c15105f215992d78bcaaf9b51efa1d565
vue.config.js
@@ -13,29 +13,26 @@
    // hotOnly: false, // 热更新
    proxy: {
      "/api": {
        // target: "http://192.168.20.10:7004",
        target: "http://192.168.20.174:7070",
        //  target: "http://192.168.20.117:7080",
        // secure: false,
        changeOrigin: true,
        target: "http://192.168.20.115:7070",
      },
      "/httpImage": {
        //target: "http://bsic.asuscomm.com:7003",
        // target: "http://222.128.87.51:7003",
        target: "http://192.168.20.10:7009",
        //  target: "http://192.168.20.117:7080",
        // target: "http://192.168.20.189:7009",
        // target: "http://192.168.20.117:7080",
        target: "http://192.168.20.115:7070",
        changeOrigin: true, //开启代理
      },
      "/ws": {
        target: "http://192.168.20.189:7009",
        target: "http://192.168.20.115:7070",
        // ws: true,
        changeOrigin: true,
      },
      /*
      "/api-v": {
        target: "http://192.168.20.10:7009",
        // ws: true,
        changeOrigin: true,
      }, */
    },
  },
};