vite.config.ts @@ -72,7 +72,7 @@ // ws: true, changeOrigin: true, rewrite: (path: string) => { console.log('path: ', path); console.log('path: ', path, path.replace(/^\/api/, '')); return path.replace(/^\/api/, ''); }, },