From 85336bc73ea369eecdce7b674628c63a70bc395f Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Mon, 25 Dec 2023 17:10:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=20SSL=20=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98=20(#3443?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs #3434 --- backend/app/dto/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/dto/setting.go b/backend/app/dto/setting.go index 5da1a3dc0..9895b0eec 100644 --- a/backend/app/dto/setting.go +++ b/backend/app/dto/setting.go @@ -60,7 +60,7 @@ type SettingUpdate struct { } type SSLUpdate struct { - SSLType string `json:"sslType" validate:"required,oneof=self select import-paste import-local"` + SSLType string `json:"sslType" validate:"required,oneof=self select import import-paste import-local"` Domain string `json:"domain"` SSL string `json:"ssl" validate:"required,oneof=enable disable"` Cert string `json:"cert"`