Browse Source

description

master
Lloyd Brookes 5 years ago
parent
commit
d55ca0f53b
  1. 2
      README.md
  2. 5
      lib/cli-app.js
  3. 8
      package-lock.json
  4. 2
      package.json

2
README.md

@ -79,7 +79,7 @@ $ ws --https
### HTTP2
Uses node's built-in HTTP2 support. [See the wiki](https://github.com/lwsjs/local-web-server/wiki) for further info about HTTPS options and a guide on how to get the "green padlock" in your browser.
Launch a secure HTTP2 server. Follow the same instructions as `--https` to use certs, get the "green padlock" etc.
```sh
$ ws --http2

5
lib/cli-app.js

@ -37,13 +37,12 @@ class WsCli extends LwsCli {
sections.unshift(
{
header: 'local-web-server',
content: 'The modular web server for productive full-stack development.'
content: 'A modular HTTP, HTTPS and HTTP2 command-line web server for personalised, full-stack web development.'
},
{
header: 'Synopsis',
content: [
'$ ws <options>',
'$ ws {underline command} <options>'
'$ ws <options>'
]
}
)

8
package-lock.json

@ -1809,9 +1809,9 @@
}
},
"lws": {
"version": "2.0.0-10",
"resolved": "https://registry.npmjs.org/lws/-/lws-2.0.0-10.tgz",
"integrity": "sha512-M6CSIQEMjxq7/hCOtpNDNLx4eDfZCWML6OHi0iUdup6D13TAySXWVZmnvPQTls5lkRV2OannfGMxLwKUdz2Heg==",
"version": "2.0.0-11",
"resolved": "https://registry.npmjs.org/lws/-/lws-2.0.0-11.tgz",
"integrity": "sha512-flkwzQ/PqQbRoFT0OG1i4iLY8c+Lf5vIxwTMLIVyy6CoVH/H2o1KYdYV5NZEeaGU7aioMMmyaNFm9Ec/+JL4ww==",
"requires": {
"ansi-escape-sequences": "^4.1.0",
"array-back": "^3.1.0",
@ -1820,7 +1820,7 @@
"command-line-usage": "^5.0.5",
"create-mixin": "^2.0.1",
"koa": "^2.7.0",
"load-module": "^2.0.0",
"load-module": "^2.0.1",
"lodash.assignwith": "^4.2.0",
"node-version-matches": "^1.0.1",
"open": "^6.3.0",

2
package.json

@ -39,7 +39,7 @@
"index.js"
],
"dependencies": {
"lws": "2.0.0-10",
"lws": "2.0.0-11",
"lws-basic-auth": "^1.0.2",
"lws-blacklist": "^2.0.1",
"lws-body-parser": "^1.0.1",

Loading…
Cancel
Save