http-server
Advanced tools
Comparing version 0.5.5 to 0.6.0
@@ -21,5 +21,5 @@ var fs = require('fs'), | ||
} | ||
if (options.headers) { | ||
this.headers = options.headers; | ||
this.headers = options.headers; | ||
} | ||
@@ -39,2 +39,6 @@ | ||
before: (options.before || []).concat([ | ||
function (req, res) { | ||
options.logFn && options.logFn(req, res); | ||
res.emit('next'); | ||
}, | ||
ecstatic({ | ||
@@ -41,0 +45,0 @@ root: this.root, |
{ | ||
"name": "http-server", | ||
"version": "0.5.5", | ||
"version": "0.6.0", | ||
"author": "Nodejitsu <support@nodejitsu.com>", | ||
@@ -57,3 +57,4 @@ "description": "a simple zero-configuration command-line http server", | ||
"ecstatic": "0.4.x", | ||
"portfinder": "0.2.x" | ||
"portfinder": "0.2.x", | ||
"opener": "~1.3.0" | ||
}, | ||
@@ -60,0 +61,0 @@ "devDependencies": { |
@@ -11,3 +11,3 @@ # http-server: a command-line http server | ||
curl http://npmjs.org/install.sh | sh | ||
curl https://npmjs.org/install.sh | sh | ||
@@ -14,0 +14,0 @@ Once you have `npm`: |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
483548
123
6
+ Addedopener@~1.3.0
+ Addedopener@1.3.0(transitive)