fix: 解决 SSL 关闭失败的问题 (#3443)

Refs #3434
This commit is contained in:
ssongliu 2023-12-25 17:10:10 +08:00 committed by GitHub
parent 33484a9436
commit 85336bc73e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"`