2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 11:27:17 +08:00

feat(文件): 解压不再判断路径存在

This commit is contained in:
耗子
2024-06-24 19:11:01 +08:00
parent aae3cf0518
commit 71923093fd

View File

@@ -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:^/.*$`,
}
}