vite.config.ts @@ -28,6 +28,7 @@ [env.VITE_APP_BASE_API]: { target: 'http://localhost:8080', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '') } }