guonan
2025-05-01 0d4c3c3877bee1c92f574d26c67118dadb4a3dc7
vue.config.js
@@ -21,11 +21,12 @@
    hot: true,
    proxy: {
      '/api': {
        target: 'http://192.168.56.107:8078',
        target: 'http://192.168.56.107:8077',
        // target: 'http://192.168.1.104:8078',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        },
        // pathRewrite: {
        //   '^/api': ''
        // },
        secure: false
      },
      '/hp': {
@@ -35,6 +36,11 @@
          '^/hp': ''
        },
        secure: false
      },
      '/simu': {
        target: 'http://192.168.56.107:8088',
        changeOrigin: true,
        secure: false
      }
    }
  }