mirror of
https://github.com/certd/certd.git
synced 2026-04-28 07:57:25 +08:00
fix: 修复 https://cas.undefined.aliyuncs.com 的bug
This commit is contained in:
@@ -201,7 +201,7 @@ export class DeployCertToAliyunOSS extends AbstractTaskPlugin {
|
|||||||
let certName: any = this.appendTimeSuffix("certd");
|
let certName: any = this.appendTimeSuffix("certd");
|
||||||
if (typeof this.cert === "object") {
|
if (typeof this.cert === "object") {
|
||||||
let endpoint = `cas.${this.casRegion}.aliyuncs.com`;
|
let endpoint = `cas.${this.casRegion}.aliyuncs.com`;
|
||||||
if (this.casRegion === "cn-hangzhou"){
|
if (this.casRegion === "cn-hangzhou" || !this.casRegion){
|
||||||
endpoint = "cas.aliyuncs.com";
|
endpoint = "cas.aliyuncs.com";
|
||||||
}
|
}
|
||||||
const sslClient = new AliyunSslClient({
|
const sslClient = new AliyunSslClient({
|
||||||
|
|||||||
Reference in New Issue
Block a user