let config = {}

if (window.location.origin === 'http://localhost:3001') {
  config['API_URL'] = 'http://localhost:3000'
}
else {
  config['API_URL'] = ''
}

module.exports = config

let config = {}

if (window.location.origin === 'http://localhost:3001') {
  config['API_URL'] = 'http://localhost:3000'
}
else {
  config['API_URL'] = 'http://empower-api.herokuapp.com'
}

module.exports = config

add production env