A simple app to redirect all requests to a URL.
Use environment variables:
REDIRECT_TO
- The absolute URL to redirect toPORT
- The port to run the server on (default3000
)
$ now -e REDIRECT_TO="https://your.url.here/foo/bar.zip"
Then hit the URL it gives you. Simples.