lite-web-server
Advanced tools
Comparing version 1.2.1 to 1.2.2-beta.1636471500
# Change Log | ||
## 1.2.2 ([npm](https://www.npmjs.com/package/lite-web-server/v/1.2.2) / [Github](https://github.com/chasyumen/lite-web-server/releases/tag/1.2.2)) | ||
## Added | ||
- added x-powered-by header. | ||
## 1.2.1 ([npm](https://www.npmjs.com/package/lite-web-server/v/1.2.1) / [Github](https://github.com/chasyumen/lite-web-server/releases/tag/1.2.1)) | ||
### Fixed | ||
- Fixed serveindex redirect bug. | ||
## 1.2.0 ([npm](https://www.npmjs.com/package/lite-web-server/v/1.2.0) / [Github](https://github.com/chasyumen/lite-web-server/releases/tag/1.2.0)) | ||
@@ -4,0 +16,0 @@ |
@@ -42,3 +42,3 @@ { | ||
"better-docs": { | ||
"name": "lite-web-server v1.2.1", | ||
"name": "lite-web-server v1.2.2-beta.1636471500", | ||
"title": "lite-web-server Documentation", | ||
@@ -45,0 +45,0 @@ "css": "/style.css", |
{ | ||
"name": "lite-web-server", | ||
"version": "1.2.1", | ||
"version": "1.2.2-beta.1636471500", | ||
"description": "creates simple web server.", | ||
@@ -5,0 +5,0 @@ "devDependencies": { |
@@ -290,2 +290,3 @@ /* | ||
var file = await fs.readFileSync(filedir); | ||
res.setHeader("x-powered-by", "lite-web-server"); | ||
res.writeHead(200, { "Content-Type": httpcontent }); | ||
@@ -292,0 +293,0 @@ res.end(file); |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
305102
2132
1