switchest api to heroku instead of local