diff --git a/src/modules/ssl.ts b/src/modules/ssl.ts index 8066b8a..ced669d 100644 --- a/src/modules/ssl.ts +++ b/src/modules/ssl.ts @@ -8,12 +8,17 @@ type SSLCert = string | Buffer | Array; export class SSLManager { private _key?: Buffer; - private _domain: string; constructor(domain: string) { this._domain = domain; } + private _domain: string; + + get domain(): string { + return this._domain; + } + private _context?: tls.SecureContext; get context(): tls.SecureContext {