fix(TapNodeTools): Default parameter added to createHttpsCert method
This commit is contained in:
@ -17,7 +17,7 @@ class TapNodeTools {
|
||||
return result;
|
||||
}
|
||||
|
||||
public async createHttpsCert(commonName: string): Promise<{ key: string, cert: string }> {
|
||||
public async createHttpsCert(commonName: string = 'localhost'): Promise<{ key: string, cert: string }> {
|
||||
const key = plugins.crypto.generateKeyPairSync('rsa', {
|
||||
modulusLength: 2048,
|
||||
publicExponent: 65537,
|
||||
|
Reference in New Issue
Block a user