diff --git a/backend/app/service/setting.go b/backend/app/service/setting.go index 54d9311b5..160725571 100644 --- a/backend/app/service/setting.go +++ b/backend/app/service/setting.go @@ -383,7 +383,7 @@ func (u *SettingService) LoadFromCert() (*dto.SSLInfo, error) { if err != nil { return nil, err } - data.Domain = ssl.Domains + data.Domain = ssl.PrimaryDomain data.SSLID = uint(id) data.Timeout = ssl.ExpireDate.Format(constant.DateTimeLayout) }