config redirect for heroku