diff options
Diffstat (limited to 'hotline/file_path.go')
| -rw-r--r-- | hotline/file_path.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |