Add missing tlsOptions to http2 example

Этот коммит содержится в:
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!");
});