node-go/packages/play-node-go/src/config.js

15 lines
235 B
JavaScript
Raw Normal View History

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