qx
wwl
2025-02-08 00865e5de8d4bc31caa931de063b71acdbb26266
vue.config.js
@@ -52,16 +52,27 @@
    proxy: {
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        //target: `https://ltpeis.xaltjdkj.cn:5501/prod-api/getInfo`,
        // target: `http://192.168.1.113:5011`,
        // target: `https://ltpeis.xaltjdkj.cn:5801/`,
        // target: `http://192.168.1.2:5011`,
        target: `http://192.168.1.113:5011`,
        // // target: `http://192.168.0.99:8080/ltkj-admin`,
        target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
        // target: `https://ltpeis.xaltjdkj.cn:5011/ltkj-admin`,
        // target: `http://10.168.0.9:5011`,
        changeOrigin: true,
        pathRewrite: {
          ["^" + process.env.VUE_APP_BASE_API]: "",
        },
      },
      '/douban':{
        target:'http://192.168.1.3:14765',
        changeOrigin:true,
        ws: true,
        pathRewrite: {
          '^/douban': '',
        },
      },
    },
    disableHostCheck: true,
  },