Skip to content

Commit

Permalink
feat(文件): 解压不再判断路径存在
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Jun 24, 2024
1 parent aae3cf0 commit 7192309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/http/requests/file/un_archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:^/.*$`,
}
}

Expand Down

0 comments on commit 7192309

Please sign in to comment.