X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/47f9b49c161e576cf75f0a9be1d47cc7fa2cb62c..25f0d77de4489c6759a497617606f2933ca76fc9:/hotline/file_path.go?ds=sidebyside 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 {