fix(core): update
This commit is contained in:
parent
6cfcf21d95
commit
f821f4d9cc
@ -56,9 +56,11 @@ export class SmartAcme {
|
|||||||
res: plugins.smartexpress.Response
|
res: plugins.smartexpress.Response
|
||||||
) => {
|
) => {
|
||||||
const requestBody: interfaces.ICertRemoteRequest = req.body;
|
const requestBody: interfaces.ICertRemoteRequest = req.body;
|
||||||
|
this.logger.log('ok', `got certificate request for ${requestBody.domainName}`);
|
||||||
const certDomain = this.certmatcher.getCertificateDomainNameByDomainName(
|
const certDomain = this.certmatcher.getCertificateDomainNameByDomainName(
|
||||||
requestBody.domainName
|
requestBody.domainName
|
||||||
);
|
);
|
||||||
|
this.logger.log('ok', `mapping ${requestBody.domainName} to ${certDomain}`);
|
||||||
let status: interfaces.TCertStatus = await this.certmanager.getCertificateStatus(certDomain);
|
let status: interfaces.TCertStatus = await this.certmanager.getCertificateStatus(certDomain);
|
||||||
let response: interfaces.ICertRemoteResponse;
|
let response: interfaces.ICertRemoteResponse;
|
||||||
switch (status) {
|
switch (status) {
|
||||||
|
Loading…
Reference in New Issue
Block a user