From eb0164907ca790201d7af629784633a6cf6e34d0 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Wed, 6 Nov 2024 14:37:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E8=AF=81=E4=B9=A6=E4=BF=A1=E6=81=AF=E8=8E=B7=E5=8F=96=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98=20(#6962)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs #6863 --- backend/app/service/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/service/setting.go b/backend/app/service/setting.go index 80296049a..54d9311b5 100644 --- a/backend/app/service/setting.go +++ b/backend/app/service/setting.go @@ -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