From c189c48d51ff47b9f78e9a2c7719b74d76de05e9 Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Tue, 28 May 2024 16:49:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E4=BC=AA=E9=9D=99=E6=80=81=E9=85=8D=E7=BD=AE=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#5179)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs https://github.com/1Panel-dev/1Panel/issues/5086 --- backend/app/dto/request/nginx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/dto/request/nginx.go b/backend/app/dto/request/nginx.go index 2db3027ad..fd2b68111 100644 --- a/backend/app/dto/request/nginx.go +++ b/backend/app/dto/request/nginx.go @@ -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 {