address #26 - explicitly list http2 install
This commit is contained in:
parent
ec4af4c616
commit
60c647d0da
|
@ -60,6 +60,10 @@ letsencrypt certonly --standalone \
|
||||||
|
|
||||||
### Standalone
|
### Standalone
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install --save http2
|
||||||
|
```
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
lex.onRequest = function (req, res) {
|
lex.onRequest = function (req, res) {
|
||||||
res.end('Hello, World!');
|
res.end('Hello, World!');
|
||||||
|
@ -76,6 +80,10 @@ lex.listen([80], [443, 5001], function () {
|
||||||
|
|
||||||
## Express
|
## Express
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install --save http2
|
||||||
|
```
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// A happy little express app
|
// A happy little express app
|
||||||
var app = require('express')();
|
var app = require('express')();
|
||||||
|
|
Loading…
Reference in New Issue