amazon redirects fix (localhost vs heroku)