严智鑫
2024-04-09 12d798d734a23a32519d5942dc2addff595304c4
UI-Project/vite.config.js
@@ -33,7 +33,7 @@
      '/api2': {
        target: 'localhost:8080/mesModuleTools',
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api2/, ""),
        rewrite: (path) => path.replace(/^\/api2/, "mesModuleTools"),
      },
    }
  }