Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/app/dto/request/website.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/website/ssl/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
show-overflow-tooltip
prop="organization"
></el-table-column>
<el-table-column :label="$t('website.remark')" fix show-overflow-tooltip prop="description">
<el-table-column :label="$t('website.remark')" fix prop="description">
<template #default="{ row }">
<fu-read-write-switch>
<template #read>
Expand Down