From 71923093fde3ef15882d2e81613ebf1585853656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Mon, 24 Jun 2024 19:11:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=96=87=E4=BB=B6):=20=E8=A7=A3=E5=8E=8B?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E5=88=A4=E6=96=AD=E8=B7=AF=E5=BE=84=E5=AD=98?= =?UTF-8?q?=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/http/requests/file/un_archive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/http/requests/file/un_archive.go b/app/http/requests/file/un_archive.go index 10277b22..bbcd299d 100644 --- a/app/http/requests/file/un_archive.go +++ b/app/http/requests/file/un_archive.go @@ -17,7 +17,7 @@ func (r *UnArchive) Authorize(ctx http.Context) error { func (r *UnArchive) Rules(ctx http.Context) map[string]string { return map[string]string{ "file": `regex:^/.*$|path_exists`, - "path": `regex:^/.*$|path_not_exists`, + "path": `regex:^/.*$`, } }