mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-14 01:34:47 +08:00
fix: 解决证书 HTTP 模式下保存了错误数据的问题 (#2476)
Refs https://github.com/1Panel-dev/1Panel/issues/2473
This commit is contained in:
parent
b8d2d4e7af
commit
2fdf2b9378
@ -135,7 +135,9 @@ func (w WebsiteSSLService) Create(create request.WebsiteSSLCreate) (request.Webs
|
|||||||
return res, err
|
return res, err
|
||||||
}
|
}
|
||||||
|
|
||||||
websiteSSL.DnsAccountID = create.DnsAccountID
|
if create.Provider == constant.DNSAccount {
|
||||||
|
websiteSSL.DnsAccountID = create.DnsAccountID
|
||||||
|
}
|
||||||
websiteSSL.AcmeAccountID = acmeAccount.ID
|
websiteSSL.AcmeAccountID = acmeAccount.ID
|
||||||
websiteSSL.Provider = create.Provider
|
websiteSSL.Provider = create.Provider
|
||||||
websiteSSL.Domains = strings.Join(otherDomainArray, ",")
|
websiteSSL.Domains = strings.Join(otherDomainArray, ",")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user