2020-01-07 21:03:59 +00:00
|
|
|
const production = {
|
2020-01-08 07:18:08 +00:00
|
|
|
apiAddress: null,
|
|
|
|
endpoint: null
|
2020-01-07 21:03:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const development = {
|
2020-01-08 07:18:08 +00:00
|
|
|
apiAddress: 'http://localhost:8000',
|
|
|
|
endpoint: 'http://localhost:3000'
|
2020-01-07 21:03:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const config = process.env.REACT_APP_ENVIRONMENT === 'production'
|
|
|
|
? production
|
|
|
|
: development
|
|
|
|
|
|
|
|
export default {
|
|
|
|
...config
|
|
|
|
}
|