mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
perf: farcdn优化
This commit is contained in:
@@ -150,7 +150,7 @@ export class FarcdnAccess extends BaseAccess {
|
|||||||
keyData: req.cert.key,
|
keyData: req.cert.key,
|
||||||
isOn: true,
|
isOn: true,
|
||||||
isCA: false,
|
isCA: false,
|
||||||
serverName: oldCert.serverName,
|
serverName: oldCert.serverName || certReader.getMainDomain(),
|
||||||
commonNames: [certReader.getMainDomain()],
|
commonNames: [certReader.getMainDomain()],
|
||||||
dnsNames: certReader.getAltNames(),
|
dnsNames: certReader.getAltNames(),
|
||||||
timeBeginAt: detail.notBefore,
|
timeBeginAt: detail.notBefore,
|
||||||
@@ -177,9 +177,6 @@ export class FarcdnAccess extends BaseAccess {
|
|||||||
method: "POST",
|
method: "POST",
|
||||||
data: params,
|
data: params,
|
||||||
httpProxy: this.httpProxy||undefined,
|
httpProxy: this.httpProxy||undefined,
|
||||||
logRes:true,
|
|
||||||
logParams:true,
|
|
||||||
logData:true,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user