web-app-runner
Advanced tools
Comparing version 0.90.12 to 0.90.14
@@ -11,3 +11,4 @@ #!/usr/bin/env node | ||
'10.1.10.144' | ||
] | ||
], | ||
acceptUnknownVisitor:true | ||
}, | ||
@@ -14,0 +15,0 @@ runner = require( '../lib/WebAppRunner' ).createInstance( opts ); |
@@ -18,3 +18,3 @@ /** | ||
rejectPage = options.rejectPage, | ||
acceptUnknownVisitor = true, | ||
acceptUnknownVisitor = options.acceptUnknownVisitor, | ||
whiteList = options.whiteList, | ||
@@ -21,0 +21,0 @@ blackList = options.blackList; |
{ | ||
"name": "web-app-runner", | ||
"version": "0.90.12", | ||
"description": "A simple http app runner that accepts or rejects connections by ip or agent. The server can be used stand alone or as middleware for connect or express.", | ||
"version": "0.90.14", | ||
"description": "A simple HTTP application runner that accepts or rejects connections by ip or user agent. The server can be used stand alone or as middleware for connect or express.", | ||
"main": "./index.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -25,3 +25,3 @@ # Web App Runner | ||
The following IP Filter server with accept and reject specific IP addresses. All unknown IPs are accepted. This is modified with the __acceptUnknownVisitor__ option parameter set to true. | ||
The following IP Filter server with accept and reject specific IP addresses. All unknown IPs are accepted. This is modified with the __acceptUnknownVisitor__ option parameter set to false. | ||
@@ -35,3 +35,4 @@ var opts = { | ||
'173.14.151.180' | ||
] | ||
], | ||
acceptUnkownVisitor:true | ||
}, | ||
@@ -51,2 +52,2 @@ runner = require('web-app-runner').createInstance( opts ); | ||
- - - | ||
<p><small><em>Copyright © 2014, rain city software | Version 0.90.12</em></small></p> | ||
<p><small><em>Copyright © 2014, rain city software | Version 0.90.14</em></small></p> |
Sorry, the diff of this file is not supported yet
16412
439
51