var heroku = 'https://topoftheflops.herokuapp.com'
var localUrl = 'http://localhost:3000'

var url = localUrl

module.exports = url

var heroku = 'https://topoftheflops.herokuapp.com'
var localUrl = 'http://localhost:3000'

var url = heroku

module.exports = url

Change deployed version to using heroku for api rather than local host