X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/7e2e07da8cc7985e773e619410801c6dd84afe8b..4c24568a917fb84c429411f12e096a64222a1566:/hotline/file_path.go diff --git a/hotline/file_path.go b/hotline/file_path.go index d5ddd23..f7da298 100644 --- a/hotline/file_path.go +++ b/hotline/file_path.go @@ -68,7 +68,7 @@ func (fp *FilePath) IsUploadDir() bool { return false } - return strings.Contains(strings.ToLower(string(fp.Items[fp.Len()-1].Name)), "uploads") + return strings.Contains(strings.ToLower(string(fp.Items[fp.Len()-1].Name)), "upload") } func (fp *FilePath) Len() uint16 {