diff --git a/backend/app/dto/request/website.go b/backend/app/dto/request/website.go index 37548fcb1..3cc391917 100644 --- a/backend/app/dto/request/website.go +++ b/backend/app/dto/request/website.go @@ -178,7 +178,7 @@ type WebsiteProxyConfig struct { CacheTime int `json:"cacheTime" ` CacheUnit string `json:"cacheUnit"` Name string `json:"name" validate:"required"` - Modifier string `json:"modifier" validate:"required"` + Modifier string `json:"modifier"` Match string `json:"match" validate:"required"` ProxyPass string `json:"proxyPass" validate:"required"` ProxyHost string `json:"proxyHost" validate:"required"` diff --git a/frontend/src/views/website/website/config/basic/proxy/create/index.vue b/frontend/src/views/website/website/config/basic/proxy/create/index.vue index 61fe29e19..21913450f 100644 --- a/frontend/src/views/website/website/config/basic/proxy/create/index.vue +++ b/frontend/src/views/website/website/config/basic/proxy/create/index.vue @@ -126,7 +126,6 @@ const proxyForm = ref(); const rules = ref({ name: [Rules.requiredInput, Rules.appName], match: [Rules.requiredInput], - modifier: [Rules.requiredInput], cacheTime: [Rules.requiredInput, checkNumberRange(1, 65535)], proxyPass: [Rules.requiredInput], proxyHost: [Rules.requiredInput],