lite-web-server
Advanced tools
Comparing version 1.0.1-beta.1633013080 to 1.0.1
@@ -15,3 +15,3 @@ const http = require('http') | ||
directory: "./public", | ||
notfound: `<!DOCTYPE html>\n<html>\n<head>\n<title>404 Not Found</title>\n</head>\n<body>\n<center>\n<h1>404 Not Found</h1>\n</center>\n<hr>\n<center>Node.js lite-webserver</center>\n</body>\n</html>`, | ||
notfound: `<!DOCTYPE html>\n<html>\n<head>\n<title>404 Not Found</title>\n</head>\n<body>\n<center>\n<h1>404 Not Found</h1>\n</center>\n<hr>\n<center>Node.js lite-web-server</center>\n</body>\n</html>`, | ||
port: 3000 | ||
@@ -35,3 +35,3 @@ } | ||
directory: dir || "./public", | ||
notfound: opt.notfound || `<!DOCTYPE html>\n<html>\n<head>\n<title>404 Not Found</title>\n</head>\n<body>\n<center>\n<h1>404 Not Found</h1>\n</center>\n<hr>\n<center>Node.js lite-webserver</center>\n</body>\n</html>`, | ||
notfound: opt.notfound || `<!DOCTYPE html>\n<html>\n<head>\n<title>404 Not Found</title>\n</head>\n<body>\n<center>\n<h1>404 Not Found</h1>\n</center>\n<hr>\n<center>Node.js lite-web-server</center>\n</body>\n</html>`, | ||
port: opt.port || 3000 | ||
@@ -38,0 +38,0 @@ } |
{ | ||
"name": "lite-web-server", | ||
"version": "1.0.1-beta.1633013080", | ||
"version": "1.0.1", | ||
"description": "creates simple web server.", | ||
@@ -27,5 +27,5 @@ "keywords": [ | ||
"engines": { | ||
"node": ">=12.16.1" | ||
"node": ">=12.0.0" | ||
}, | ||
"engineStrict": true | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
7187
6
120