File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 31
31
"uuid" : " ^9.0.1"
32
32
},
33
33
"scripts" : {
34
- "start" : " PORT=9090 react-scripts start" ,
34
+ "start" : " REACT_APP_API_BASE_URL=https://kudo-o-matic-staging.herokuapp.com PORT=9090 react-scripts start" ,
35
+ "start:local" : " REACT_APP_API_BASE_URL=http://localhost:3000 PORT=9090 react-scripts start" ,
35
36
"build" : " REACT_APP_VERSION=$npm_package_version REACT_APP_GIT_SHA='git rev-parse --short HEAD' react-scripts build" ,
36
37
"test" : " react-scripts test" ,
37
38
"eject" : " react-scripts eject" ,
Original file line number Diff line number Diff line change 1
1
export default {
2
2
environment : "development" ,
3
- API_BASE_URL : "https://kudo-o-matic-staging.herokuapp.com" ,
3
+ API_BASE_URL : process . env . REACT_APP_API_BASE_URL ,
4
4
} ;
You can’t perform that action at this time.
0 commit comments