Skip to content

Commit d963beb

Browse files
kevinsimperkjin
authored andcommitted
doc: add missing require to example in http2.md
PR-URL: nodejs#21858 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 98e81c0 commit d963beb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

doc/api/http2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1920,6 +1920,7 @@ instances.
19201920

19211921
```js
19221922
const http2 = require('http2');
1923+
const fs = require('fs');
19231924

19241925
const options = {
19251926
key: fs.readFileSync('server-key.pem'),

0 commit comments

Comments
 (0)