Browse Source

added Basic Authentication

master
Lloyd Brookes 7 years ago
parent
commit
b8db1ce0c8
  1. 2
      lib/command/serve.js
  2. 1
      lib/default-stack.js
  3. 3
      package.json

2
lib/command/serve.js

@ -24,7 +24,7 @@ class WsServe extends ServeCommand {
sections.unshift(
{
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',

1
lib/default-stack.js

@ -1,4 +1,5 @@
module.exports = [
'lws-basic-auth',
'lws-body-parser',
'lws-request-monitor',
'lws-log',

3
package.json

@ -32,7 +32,8 @@
"repository": "https://github.com/lwsjs/local-web-server",
"author": "Lloyd Brookes <75pound@gmail.com>",
"dependencies": {
"lws": "^1.1.0",
"lws": "^1.1.1",
"lws-basic-auth": "^0.1.1",
"lws-blacklist": "^0.2.3",
"lws-body-parser": "^0.2.4",
"lws-compress": "^0.2.1",

Loading…
Cancel
Save