address #26 - explicitly list http2 install
这个提交包含在:
父节点
ec4af4c616
当前提交
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')();
|
||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户