heroku-bouncer
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -34,3 +34,6 @@ 'use strict'; | ||
var hk = heroku.createClient({ token: accessToken }); | ||
var hk = heroku.createClient({ | ||
token: accessToken, | ||
host : options.hostname | ||
}); | ||
@@ -37,0 +40,0 @@ hk.account().info(function(err, account) { |
{ | ||
"name": "heroku-bouncer", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "heroku bouncer middleware for express", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -44,10 +44,2 @@ # node-heroku-bouncer | ||
// Optional parameter: | ||
// `herokaiOnly`: Default value: false. It accepts a request handler. Example: | ||
```js | ||
herokaiOnly : function(req, res, next) { res.end('ok'); } | ||
``` | ||
app.use(bouncer.middleware); | ||
@@ -54,0 +46,0 @@ app.use(bouncer.router); |
584
21692
62