Skip to content

Commit

Permalink
doc: fix comment about http2.createSecureServer
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#15085
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
creeperyang authored and addaleax committed Sep 5, 2017
1 parent b80258c commit 9a55dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,7 @@ const options = {
cert: fs.readFileSync('server-cert.pem')
};

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

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

0 comments on commit 9a55dad

Please sign in to comment.