This commit is contained in:
2019-02-06 09:47:33 +01:00
parent 1d8fb2b296
commit 86929251ba
10 changed files with 92 additions and 98 deletions

View File

@@ -86,7 +86,7 @@ export class SmartAcme {
res.status(200);
res.send(response);
res.end();
}
};
constructor(optionsArg: ISmartAcmeOptions) {
this.options = optionsArg;
@@ -142,7 +142,7 @@ export class SmartAcme {
/**
* gets a certificate
* it runs through the following steps
*
*
* * look in the database
* * if in the database return it
* * of not in the database announce it
@@ -150,7 +150,7 @@ export class SmartAcme {
* * store it
* * remove it from the pending map (which it go onto by announcing it)
* * retrieve it from the databse and return it
*
*
* @param domainArg
*/
public async getCertificateForDomain(domainArg: string): Promise<Cert> {