wang
2024-04-18 fc2a3221959fd405975b5a6fd5053e512968045e
UI-Project/vite.config.js
@@ -22,12 +22,12 @@
    https: false,
    proxy: {
      '/api': {
        target: 'http://localhost:8081/',
        target: 'http://localhost:8080/mesModuleTools',
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, '/'),
      },
      '/api2': {
        target: 'http://localhost:8081/mesModuleTools',
        target: 'http://localhost:8085/mesModuleTools',
        changeOrigin: true,
        pathRewrite: {
          '^/api2': '',