Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

zetta-peer-redirect

1.0.1 • Public • Published

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

Keywords

install

npm i zetta-peer-redirect

Downloadsweekly downloads

1

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability