heroku-redirect

by fastmonkeys

GitHub Readme.md

heroku-redirect

Deploy

A simple Heroku application that redirects all incoming requests to another location. Use the LOCATION config var to configure the location where the requests are redirected to. For example,

heroku config:set LOCATION=https://www.example.com

If you want the redirects to preserve path, set the PRESERVE_PATH config var. By default paths are not preserved.