mirror of https://github.com/certd/certd
fix: 修复旧版本升级上来报错eab授权的bug
parent
4b90972341
commit
b76f2e2008
|
|
@ -375,7 +375,7 @@ export class CertApplyPlugin extends CertApplyBasePlugin {
|
||||||
async onInit() {
|
async onInit() {
|
||||||
let eab: EabAccess = null;
|
let eab: EabAccess = null;
|
||||||
|
|
||||||
if (this.sslProvider !== "letsencrypt") {
|
if (this.sslProvider && this.sslProvider !== "letsencrypt") {
|
||||||
if (this.sslProvider === "google" && this.googleAccessId) {
|
if (this.sslProvider === "google" && this.googleAccessId) {
|
||||||
this.logger.info("当前正在使用 google服务账号授权获取EAB");
|
this.logger.info("当前正在使用 google服务账号授权获取EAB");
|
||||||
const googleAccess = await this.getAccess(this.googleAccessId);
|
const googleAccess = await this.getAccess(this.googleAccessId);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue