added Basic Authentication
This commit is contained in:
@ -24,7 +24,7 @@ class WsServe extends ServeCommand {
|
|||||||
sections.unshift(
|
sections.unshift(
|
||||||
{
|
{
|
||||||
header: 'local-web-server',
|
header: 'local-web-server',
|
||||||
content: 'The modular development web server for productive full-stack engineers.'
|
content: 'The modular web server for productive full-stack development.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
header: 'Synopsis',
|
header: 'Synopsis',
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
module.exports = [
|
module.exports = [
|
||||||
|
'lws-basic-auth',
|
||||||
'lws-body-parser',
|
'lws-body-parser',
|
||||||
'lws-request-monitor',
|
'lws-request-monitor',
|
||||||
'lws-log',
|
'lws-log',
|
||||||
|
@ -32,7 +32,8 @@
|
|||||||
"repository": "https://github.com/lwsjs/local-web-server",
|
"repository": "https://github.com/lwsjs/local-web-server",
|
||||||
"author": "Lloyd Brookes <75pound@gmail.com>",
|
"author": "Lloyd Brookes <75pound@gmail.com>",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lws": "^1.1.0",
|
"lws": "^1.1.1",
|
||||||
|
"lws-basic-auth": "^0.1.1",
|
||||||
"lws-blacklist": "^0.2.3",
|
"lws-blacklist": "^0.2.3",
|
||||||
"lws-body-parser": "^0.2.4",
|
"lws-body-parser": "^0.2.4",
|
||||||
"lws-compress": "^0.2.1",
|
"lws-compress": "^0.2.1",
|
||||||
|
Reference in New Issue
Block a user