mirror of
https://github.com/therootcompany/greenlock-express.js.git
synced 2025-02-23 13:18:04 +00:00
Add missing tlsOptions to http2 example
This commit is contained in:
parent
2ac272ba9d
commit
ca0ba9bc68
@ -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…
x
Reference in New Issue
Block a user