An open API service indexing awesome lists of open source software.

https://github.com/aslafy-z/serve-redirect-node


https://github.com/aslafy-z/serve-redirect-node

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# serve-redirect
A super simple HTTP redirection server

## Usage

`$ npx serve-redirect --port 8080 --target https://www.google.com`

### Optional Arguments

- port - port service will listen on (default 8080)
- ip - IP address service will listen on (default 0.0.0.0)
- target - url requests will redirect to (default https://www.google.com)
- code - http response code to use (default 301)