diff --git a/backend/app/dto/request/website.go b/backend/app/dto/request/website.go index 283b44d92..6af6d69ea 100644 --- a/backend/app/dto/request/website.go +++ b/backend/app/dto/request/website.go @@ -210,7 +210,7 @@ type WebsiteRedirectReq struct { type WebsiteWafFileUpdate struct { WebsiteID uint `json:"websiteID" validate:"required"` Content string `json:"content" validate:"required"` - Type string `json:"type" validate:"required,oneof=cc ip_white ip_block url_white url_block cookie_block args_check post_check ua_check file_ext_block"` + Type string `json:"type" validate:"required,oneof=cc ip_white ip_block url_white url_block cookie_block args_check post_check ua_check file_ext_block user_agent"` } type WebsiteCommonReq struct { diff --git a/frontend/src/views/website/ssl/index.vue b/frontend/src/views/website/ssl/index.vue index 2c8cdacbe..bf1e39c75 100644 --- a/frontend/src/views/website/ssl/index.vue +++ b/frontend/src/views/website/ssl/index.vue @@ -109,7 +109,7 @@ show-overflow-tooltip prop="organization" > - +