Description
vitePluginFakeServer is configured with enableProd: true, so mock endpoints can be active in production. This can cause the UI to always receive successful mocked data, hiding real backend latency/failures and preventing users from seeing real loading, empty, and error states. It also risks shipping stale/fake data paths.
Severity: high
File: amoro-web/vite.config.ts
Expected Behavior
The code should handle this case properly to avoid unexpected errors or degraded quality.