lite-web-server
Advanced tools
Comparing version 1.0.3 to 1.0.4
# Change Log | ||
## 1.0.4 ([npm](https://www.npmjs.com/package/lite-web-server/v/1.0.4) / [Github](https://github.com/chasyumen/lite-web-server/releases/tag/1.0.4)) | ||
- Github build test file changed. | ||
## 1.0.3 ([npm](https://www.npmjs.com/package/lite-web-server/v/1.0.3) / [Github](https://github.com/chasyumen/lite-web-server/releases/tag/1.0.3)) | ||
@@ -4,0 +8,0 @@ |
12
check.js
@@ -1,5 +0,11 @@ | ||
var { WebServer } = require("./index.js"); | ||
var { WebServer, GetFileType } = require("./index.js"); //this file loads ./lib/index.js | ||
var server = new WebServer({ | ||
dir: "./", | ||
port: 3000 | ||
}); | ||
port: 3000, | ||
acceptonlyget: true, | ||
notfound: "This page shows that the url requested was not found on this server!", | ||
req405error: "This page shows that you sent a request with incorrect method!" | ||
}); | ||
var filename = "./check.js" | ||
var filetype = GetFileType(filename) |
@@ -27,3 +27,3 @@ { | ||
"better-docs": { | ||
"name": "lite-web-server v1.0.3", | ||
"name": "lite-web-server v1.0.4", | ||
"title": "lite-web-server Documentation", | ||
@@ -30,0 +30,0 @@ "css": "/style.css", |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ const filetype = require("./filetype.js"); |
@@ -0,0 +0,0 @@ const http = require('http'); |
{ | ||
"name": "lite-web-server", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "creates simple web server.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -0,0 +0,0 @@ # lite-web-server |
Sorry, the diff of this file is not supported yet
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
13602
221