feat(http): native TLS termination → https/wss via tls option

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-07-06 18:58:40 -05:00
1 parent b87bdc698f
commit b8ee1b14a5
6 files changed
+117 -5

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { readFileSync } from 'fs';
import { join } from 'path';
const dir = join(__dirname, '..', 'fixtures');
export const selfSignedTls = () => ({
key: readFileSync(join(dir, 'key.pem')),
cert: readFileSync(join(dir, 'cert.pem')),
});