updated thumb error message

This commit is contained in:
Gani Georgiev 2025-10-23 11:55:19 +03:00
parent 83a26d436e
commit afb942bc41
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ func (api *fileApi) download(e *core.RequestEvent) error {
} }
if thumbSize != "" && event.ThumbError == nil && event.ServedPath == originalPath { if thumbSize != "" && event.ThumbError == nil && event.ServedPath == originalPath {
event.ThumbError = fmt.Errorf("the thumb size %q is not supported", thumbSize) event.ThumbError = fmt.Errorf("the thumb size %q or the original file format are not supported", thumbSize)
} }
// clickjacking shouldn't be a concern when serving uploaded files, // clickjacking shouldn't be a concern when serving uploaded files,