fix: 解决面板证书信息获取失败的问题 (#6962)

Refs #6863
This commit is contained in:
ssongliu 2024-11-06 14:37:19 +08:00 committed by GitHub
parent 478d44885c
commit eb0164907c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -357,7 +357,7 @@ func (u *SettingService) LoadFromCert() (*dto.SSLInfo, error) {
if err != nil {
return nil, err
}
case "import":
case "import-paste", "import-local":
data, err = loadInfoFromCert()
if err != nil {
return nil, err