ZZJ
2022-07-28 abe3a86c15105f215992d78bcaaf9b51efa1d565
vue.config.js
@@ -12,48 +12,27 @@
    // https: false,
    // hotOnly: false, // 热更新
    proxy: {
      "/track": {
        //target: 'http://bsic.asuscomm.com:7003',
        // target: 'http://222.128.87.51:8000',
        target: "http://192.168.20.10:7004",
        // ws: true,
        changeOrigin: true,
      },
      "/ws": {
        //target: 'http://bsic.asuscomm.com:7004',
        // target: 'http://222.128.87.51:7003',
        target: "http://192.168.20.10:7004",
        // ws: true,
        changeOrigin: true,
      },
      "/api-v": {
        //target: 'http://192.168.20.145:8000',
        // target: "http://192.168.20.230:8000",
        target: "http://192.168.20.189:7009",
        changeOrigin: true,
      },
      "/api": {
        //  target: "http://192.168.20.230:7004",
        // target: "http://192.168.20.10:7004",
        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.189:7009",
        // target: "http://192.168.20.117:7080",
        target: "http://192.168.20.115:7070",
        changeOrigin: true, //开启代理
      },
      "/files": {
        //target: "http://bsic.asuscomm.com:7003",
        // target: "http://222.128.87.51:7003",
        target: "http://192.168.20.10:7004",
        changeOrigin: true, //开启代理
      "/ws": {
        target: "http://192.168.20.115:7070",
        // ws: true,
        changeOrigin: true,
      },
      /*
      "/api-v": {
        target: "http://192.168.20.10:7009",
        // ws: true,
        changeOrigin: true,
      }, */
    },
  },
};