mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-15 21:04:46 +01:00
fix (image): disable image resizing for gif
This commit is contained in:
parent
879a2ed76c
commit
f82a58d900
1 changed files with 2 additions and 0 deletions
|
|
@ -128,6 +128,8 @@ func init() {
|
|||
return reader, nil
|
||||
} else if query.Get("thumbnail") != "true" && query.Get("size") == "" {
|
||||
return reader, nil
|
||||
} else if query.Get("thumbnail") != "true" && mType == "image/gif" {
|
||||
return reader, nil
|
||||
}
|
||||
|
||||
/////////////////////////
|
||||
|
|
|
|||
Loading…
Reference in a new issue