diff --git a/src/relay.ts b/src/relay.ts index 5cd33bd..4b48841 100644 --- a/src/relay.ts +++ b/src/relay.ts @@ -121,6 +121,7 @@ async function setupSSl() { } if (dateValid && domainValid) { + sslCtx = tls.createSecureContext(sslParams); return; }