Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4218afc

Browse files
creeperyangjasnell
authored andcommittedAug 30, 2017
doc: fix comment about http2.createSecureServer
PR-URL: #15085 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent ad3d2ce commit 4218afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎doc/api/http2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,7 @@ const options = {
15491549
cert: fs.readFileSync('server-cert.pem')
15501550
};
15511551

1552-
// Create a plain-text HTTP/2 server
1552+
// Create a secure HTTP/2 server
15531553
const server = http2.createSecureServer(options);
15541554

15551555
server.on('stream', (stream, headers) => {

0 commit comments

Comments
 (0)
Please sign in to comment.