Add missing tlsOptions to http2 example

This commit is contained in:
AJ ONeal 2020-08-03 06:37:24 +00:00
父節點 2ac272ba9d
當前提交 ca0ba9bc68
共有 1 個文件被更改,包括 2 次插入1 次删除

查看文件

@ -26,7 +26,8 @@ function httpsWorker(glx) {
//
// Get the raw http2 server:
var http2Server = glx.http2Server(function(req, res) {
var tlsOptions = null;
var http2Server = glx.http2Server(tlsOptions, function(req, res) {
res.end("Hello, Encrypted World!");
});