rjweb-server
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -188,3 +188,3 @@ const { RouteList } = require('./utils/RouteList') | ||
const type = (urls[url].type === 'STATIC' ? 'GET' : urls[url].type) | ||
pageDisplay = pageDisplay + `[-] [${type}] ${url}\n` | ||
@@ -191,0 +191,0 @@ }) |
{ | ||
"name": "rjweb-server", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "Easy Way to create a Web Server in Node.js", | ||
@@ -10,2 +10,8 @@ "main": "index.js", | ||
}, | ||
"keywords": [ | ||
"webserver", | ||
"web-server", | ||
"server", | ||
"easy" | ||
], | ||
"author": "0x4096", | ||
@@ -12,0 +18,0 @@ "license": "ISC", |
@@ -124,3 +124,3 @@ <h1 align="center">Welcome to rjweb-server 👋</h1> | ||
request: async(ctr) => { | ||
console.log(`request made to ${ctr.requestPath.pathname}`) // DO NOT write any data or end the request | ||
console.log(`request made to ${decodeURI(ctr.requestPath.pathname)}`) // DO NOT write any data or end the request | ||
} | ||
@@ -127,0 +127,0 @@ } |
@@ -35,2 +35,3 @@ const { getAllFiles } = require('./getAllFiles.js') | ||
} | ||
list() { | ||
@@ -37,0 +38,0 @@ return this.urls |
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
13178