Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 636 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 636 Bytes

FullRedirect

Redirects all GET requests from one domain to another.

Local Configuration

Copy over the example .env.example file.

cp .env.example .env

Edit your newly created .env file and set REDIRECT_DOMAIN to the domain you want your traffic to be redirected to.

Heroku Configuration

On the app you intend to deploy to, add the REDIRECT_DOMAIN env variable and set it to the domain you want your traffic to be redirected to. Then deploy.