File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11REACT_APP_BASE_URL = http://localhost:9002
22REACT_APP_WALLET_BASE_URL = http://localhost:9003
33REACT_APP_ASSETS_BUCKET = http://localhost
4- REACT_APP_DEMO_MODE = false
4+ REACT_APP_DEMO_MODE = true
55
66# More info https://create-react-app.dev/docs/advanced-configuration
77ESLINT_NO_DEV_ERRORS = true
Original file line number Diff line number Diff line change 11// config.ts
22const config = {
3- baseURL : process . env . NODE_ENV === 'production'
4- ? window . location . origin || 'http://localhost:9002'
5- : process . env . REACT_APP_BASE_URL || 'http://localhost:9002' ,
3+ baseURL : process . env . REACT_APP_DEMO_MODE === 'true'
4+ ? 'http://localhost:10002'
5+ : process . env . NODE_ENV === 'production'
6+ ? window . location . origin || 'http://localhost:9002'
7+ : process . env . REACT_APP_BASE_URL || 'http://localhost:9002' ,
68 isDemoMode : process . env . REACT_APP_DEMO_MODE === 'true' ,
79 walletBaseURL : process . env . REACT_APP_WALLET_BASE_URL ?. trim ( ) || 'http://localhost:9003' ,
810
You can’t perform that action at this time.
0 commit comments