ZZJ
2022-05-05 d889eaf990af99c06970e51f2bc421ac0015489c
vue.config.js
@@ -12,29 +12,10 @@
    // 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.10:7004",
        target: "http://192.168.20.174:7070",
        //  target: "http://192.168.20.117:7080",
        // secure: false,
        changeOrigin: true,
      },
@@ -49,11 +30,11 @@
        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.189:7009",
        // ws: true,
        changeOrigin: true,
      },
    },
  },