http-server
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -36,3 +36,3 @@ var fs = require('fs'), | ||
this.server = union.createServer({ | ||
before: [ | ||
before: (options.before || []).concat([ | ||
ecstatic(this.root, { | ||
@@ -43,3 +43,3 @@ autoIndex: this.autoIndex, | ||
}) | ||
], | ||
]), | ||
headers: this.headers || {} | ||
@@ -46,0 +46,0 @@ }); |
{ | ||
"name": "http-server", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"author": "Nodejitsu <support@nodejitsu.com>", | ||
@@ -15,3 +15,2 @@ "description": "a simple zero-configuration command-line http server", | ||
], | ||
"homepage": "http://nodeapps.github.com/http-server", | ||
"scripts": { | ||
@@ -18,0 +17,0 @@ "start": "node ./bin/http-server", |
@@ -55,4 +55,8 @@ # http-server: a command-line http server | ||
`-e` or `--ext` Default file extension (defaults to 'html') | ||
`-s` or `--silent` In silent mode, log messages aren't logged to the console. | ||
`-h` or `--help` Displays a list of commands and exits. | ||
`-c` Set cache time (in seconds) for cache-control max-age header, e.g. -c10 for 10 seconds. To disable caching, use -c-1. |
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
No website
QualityPackage does not have a website.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
482401
62
0