Browse Source

Add missing tlsOptions to http2 example

github
AJ ONeal 4 years ago
parent
commit
ca0ba9bc68
  1. 3
      examples/http2/server.js

3
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!");
});

Loading…
Cancel
Save