fuliqi
2024-04-30 c192d0bda1c59a3c68861b373c9d0cd91234f57b
vue.config.js
@@ -35,9 +35,16 @@
    proxy: {
      // detail: https://cli.vuejs.org/config/#devserver-proxy
      [process.env.VUE_APP_BASE_API]: {
        target: `http://localhost:8080`,
        // target: `http://192.168.3.64:8080`,
        // target: `http://localhost:8080`,
        // 付立麒
        target: `http://192.168.3.64:8080`,
        // 龚焕茏
        // target: `http://192.168.3.87:8080`,
        // 向培
        // target: `http://192.168.3.88:8085`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''