1.0.1 • Published 8 years ago

zetta-peer-redirect v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

zetta-peer-redirect

Allow zetta to follow 301/302 redirects while peering.

Install

npm install zetta-peer-redirect

Usage

var zetta = require('zetta');
var redirect = require('zetta-peer-redirect');

zetta()
  .use(redirect)
  .link('http://<peering server>') // Will return a 302 with a new location to peer to.
  .listen(3001)

License

MIT

1.0.1

8 years ago

1.0.0

8 years ago