xiaojunnuo 2025-08-07 22:31:25 +08:00
parent 541f482518
commit 60e6aa9b54
1 changed files with 1 additions and 1 deletions

View File

@ -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({