basic-node-server
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -41,4 +41,5 @@ const http = require('http'); | ||
getContentType.then(contentType => { | ||
console.log(`Serving: ${filePath}`); | ||
contentType = contentType[fileExtension] || 'application/octet-stream'; | ||
res.setHeader('Content-Type', contentType); | ||
@@ -45,0 +46,0 @@ |
{ | ||
"name": "basic-node-server", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Simple node server for everyone.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
46635
1258
1