mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-17 01:49:52 +00:00
Merge branch 'main' into main
This commit is contained in:
commit
a4d1c9a7c0
@ -98,7 +98,8 @@ func (t *tencentCdn) deploy(certId string) error {
|
|||||||
request.Status = common.Int64Ptr(1)
|
request.Status = common.Int64Ptr(1)
|
||||||
|
|
||||||
// 如果是泛域名就从cdn列表下获取SSL证书中的可用域名
|
// 如果是泛域名就从cdn列表下获取SSL证书中的可用域名
|
||||||
if strings.Contains(t.option.Domain, "*") {
|
domain := getDeployString(t.option.DeployConfig, "domain")
|
||||||
|
if strings.Contains(domain, "*") {
|
||||||
list, errGetList := t.getDomainList()
|
list, errGetList := t.getDomainList()
|
||||||
if errGetList != nil {
|
if errGetList != nil {
|
||||||
return fmt.Errorf("failed to get certificate domain list: %w", errGetList)
|
return fmt.Errorf("failed to get certificate domain list: %w", errGetList)
|
||||||
@ -108,7 +109,7 @@ func (t *tencentCdn) deploy(certId string) error {
|
|||||||
}
|
}
|
||||||
request.InstanceIdList = common.StringPtrs(list)
|
request.InstanceIdList = common.StringPtrs(list)
|
||||||
} else { // 否则直接使用传入的域名
|
} else { // 否则直接使用传入的域名
|
||||||
request.InstanceIdList = common.StringPtrs([]string{t.option.Domain})
|
request.InstanceIdList = common.StringPtrs([]string{domain})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 返回的resp是一个DeployCertificateInstanceResponse的实例,与请求对象对应
|
// 返回的resp是一个DeployCertificateInstanceResponse的实例,与请求对象对应
|
||||||
|
1
ui/dist/index.html
vendored
1
ui/dist/index.html
vendored
@ -10,5 +10,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="bg-background">
|
<body class="bg-background">
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user