mirror of https://github.com/certd/certd
fix: 修复 https://cas.undefined.aliyuncs.com 的bug
parent
541f482518
commit
60e6aa9b54
|
@ -201,7 +201,7 @@ export class DeployCertToAliyunOSS extends AbstractTaskPlugin {
|
|||
let certName: any = this.appendTimeSuffix("certd");
|
||||
if (typeof this.cert === "object") {
|
||||
let endpoint = `cas.${this.casRegion}.aliyuncs.com`;
|
||||
if (this.casRegion === "cn-hangzhou"){
|
||||
if (this.casRegion === "cn-hangzhou" || !this.casRegion){
|
||||
endpoint = "cas.aliyuncs.com";
|
||||
}
|
||||
const sslClient = new AliyunSslClient({
|
||||
|
|
Loading…
Reference in New Issue