UI-Project/vite.config.js
@@ -22,17 +22,17 @@ https: false, proxy: { '/api': { target: 'http://localhost:8080/mesModuleTools', target: 'http://localhost:88/', changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, '/'), }, '/api2': { target: 'http://localhost:8085/mesModuleTools', changeOrigin: true, pathRewrite: { '^/api2': '', }, }, // '/api2': { // target: 'http://localhost:8085/mesModuleTools', // changeOrigin: true, // pathRewrite: { // '^/api2': '', // }, // }, }, }, configureServer: ({ middlewares }) => {