ZZJ
2022-04-12 994e5e08cba4e6b9ce321b7cf5cb1ec8d19dfa22
vue.config.js
@@ -12,26 +12,6 @@
    // 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",
@@ -47,12 +27,6 @@
        // target: "http://192.168.20.189:7009",
        // target: "http://192.168.20.117:7080",
        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, //开启代理
      },
    },