Update modules/typesniffer/typesniffer.go

Typo
This commit is contained in:
FermeLeLundi 2024-11-28 10:27:33 +00:00
parent 01e1bc0cb8
commit eef6d55877

View file

@ -108,7 +108,7 @@ func DetectContentType(data []byte) SniffedType {
} }
} }
// AVIF is unsuported by http.DetectContentType // AVIF is unsupported by http.DetectContentType
// Signature taken from https://stackoverflow.com/a/68322450 // Signature taken from https://stackoverflow.com/a/68322450
if bytes.Index(data, []byte("ftypavif")) == 4 { if bytes.Index(data, []byte("ftypavif")) == 4 {
ct = AvifMimeType ct = AvifMimeType