mirror of
https://github.com/therootcompany/greenlock-express.js.git
synced 2025-02-23 21:28:05 +00:00
address #26 - explicitly list http2 install
This commit is contained in:
parent
ec4af4c616
commit
60c647d0da
@ -60,6 +60,10 @@ letsencrypt certonly --standalone \
|
||||
|
||||
### Standalone
|
||||
|
||||
```bash
|
||||
npm install --save http2
|
||||
```
|
||||
|
||||
```javascript
|
||||
lex.onRequest = function (req, res) {
|
||||
res.end('Hello, World!');
|
||||
@ -76,6 +80,10 @@ lex.listen([80], [443, 5001], function () {
|
||||
|
||||
## Express
|
||||
|
||||
```bash
|
||||
npm install --save http2
|
||||
```
|
||||
|
||||
```javascript
|
||||
// A happy little express app
|
||||
var app = require('express')();
|
||||
|
Loading…
x
Reference in New Issue
Block a user