fix: 解决清空伪静态配置报错的问题 (#5179)

Refs https://github.com/1Panel-dev/1Panel/issues/5086
This commit is contained in:
zhengkunwang 2024-05-28 16:49:06 +08:00 committed by GitHub
parent a08612e0a0
commit c189c48d51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ type NginxRewriteReq struct {
type NginxRewriteUpdate struct {
WebsiteID uint `json:"websiteId" validate:"required"`
Name string `json:"name" validate:"required"`
Content string `json:"content" validate:"required"`
Content string `json:"content"`
}
type NginxProxyUpdate struct {