diff --git a/license_ui/vite.config.ts b/license_ui/vite.config.ts index 39f73b9..fa17e0a 100644 --- a/license_ui/vite.config.ts +++ b/license_ui/vite.config.ts @@ -5,13 +5,12 @@ import { defineConfig } from "vite"; export default defineConfig({ plugins: [react()], server: { - port: 3000, proxy: { "/api": { - target: `http://127.0.0.1:3000`, + target: `http://127.0.0.1:8080`, changeOrigin: true, secure: false, - rewrite: (path) => path.replace(/^\/api/, proxyHost.Path), + rewrite: (path) => path.replace(/^\/api/, ""), }, }, },