fix(ts_node): Fixed createHttpsCert interface

This commit is contained in:
2024-09-18 00:45:50 +02:00
parent 155b0b9f91
commit d8301314a7
4 changed files with 8 additions and 3 deletions

View File

@ -17,7 +17,7 @@ class TapNodeTools {
return result;
}
public async createHttpsCert(commonName: string, keyFile: string, certFile: string): Promise<{ key: string, cert: string }> {
public async createHttpsCert(commonName: string): Promise<{ key: string, cert: string }> {
const key = plugins.crypto.generateKeyPairSync('rsa', {
modulusLength: 2048,
publicExponent: 65537,