Set URI redirect for local environment and heroku