2.0.4 • Published 6 years ago
tapc-cert-https v2.0.4
tap证书
使用
import { installRootCert, getHttpsOptions } from 'tapc-cert-https';
installRootCert(); // 注入根证书
const httpsOptions = getHttpsOptions(); // 获取https.createServer的options
import { installRootCert, getHttpsOptions } from 'tapc-cert-https';
installRootCert(); // 注入根证书
const httpsOptions = getHttpsOptions(); // 获取https.createServer的options