Remove gif from allowed image types
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -72,7 +72,6 @@ var FileTypes = []FileType{
|
||||
// Image types
|
||||
{MimeType: "image/jpeg", Extensions: []string{".jpg", ".jpeg"}, Category: CategoryImage},
|
||||
{MimeType: "image/png", Extensions: []string{".png"}, Category: CategoryImage},
|
||||
{MimeType: "image/gif", Extensions: []string{".gif"}, Category: CategoryImage},
|
||||
{MimeType: "image/svg+xml", Extensions: []string{".svg"}, Category: CategoryImage},
|
||||
{MimeType: "image/webp", Extensions: []string{".webp"}, Category: CategoryImage},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user