http-server
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -29,2 +29,3 @@ var fs = require('fs'), | ||
this.autoIndex = options.autoIndex !== 'false'; | ||
this.contentType = options.contentType || 'application/octet-stream'; | ||
@@ -75,2 +76,3 @@ if (options.ext) { | ||
defaultExt: this.ext, | ||
contentType: this.contentType, | ||
handleError: typeof options.proxy !== 'string' | ||
@@ -77,0 +79,0 @@ })); |
{ | ||
"name": "http-server", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "A simple zero-configuration command-line http server", | ||
@@ -78,8 +78,3 @@ "main": "./lib/http-server", | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/nodeapps/http-server/raw/master/LICENSE" | ||
} | ||
], | ||
"license": "MIT", | ||
"preferGlobal": "true", | ||
@@ -86,0 +81,0 @@ "bin": { |
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
490223
247