feat: allow set a different region on deployment to huaweicloud cdn

This commit is contained in:
Fu Diwei
2024-10-24 20:16:23 +08:00
parent bff18a7be7
commit cea6be37dc
12 changed files with 153 additions and 121 deletions

View File

@@ -12,8 +12,8 @@ import (
// - certPem: 证书 PEM 内容。
//
// 出参:
// - cert:
// - err:
// - cert: x509.Certificate 对象。
// - err: 错误。
func ParseCertificateFromPEM(certPem string) (cert *x509.Certificate, err error) {
pemData := []byte(certPem)