From ca0ba9bc681a5e4ddcd6c7ae398400ec23eb7615 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 3 Aug 2020 06:37:24 +0000 Subject: [PATCH] Add missing tlsOptions to http2 example --- examples/http2/server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/http2/server.js b/examples/http2/server.js index 3da9882..010c194 100644 --- a/examples/http2/server.js +++ b/examples/http2/server.js @@ -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!"); });