Support backup API URLs
Details
Details
- Reviewers
alcipir deadalnix - Group Reviewers
Restricted Project - Commits
- rABC35eb3f2e2774: Support backup API URLs
Edit the REACT_APP_BCHA_APIS variable in .env to purposefully include error-generating APIs:
REACT_APP_BCHA_APIS=fakenews,stillnotreal,https://free-test.fullstack.cash/v3/,https://rest.kingbch.com/v3/,https://wallet-service-prod.bitframe.org/v3/,notevenaurl
Install dependencies and run the app locally in your browser:
npm install --legacy-peer-deps npm start
Observe that the app loads in an error state. It then proceeds to cycle through the API URLs in REACT_APP_BCHA_APIS until the wallet is loaded successfully.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- auto-rotate-apis
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 14268 Build 28514: Build Diff Build 28513: arc lint + arc unit