perf(logs): remove console.log

This commit is contained in:
Tran Anh Tuan
2025-11-21 14:27:00 +07:00
parent 46aaf67a71
commit 38c9639fcc
16 changed files with 54 additions and 53 deletions

View File

@@ -27,7 +27,9 @@ NODE_ENV=production REACT_APP_ENV=test pnpm run build
```
- `config/proxy_prod.ts` resolves targets dynamically based on the current hostname; adjust rules there if deployment hosts change.
- `config/request_prod.ts` prepends the API base URL from `ApiConfigService`, while the dev file leaves relative paths untouched.
- Request pipelines differ per mode:
- `config/request_dev.ts` keeps relative URLs so calls pass through the dev proxy setup (use when mocking/pointing to LAN services).
- `config/request_prod.ts` builds absolute URLs from `ApiConfigService` so static builds call the correct host without relying on the proxy.
## Verifying Builds