1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-20 16:50:28 -05:00

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
if bytes.Index(data, []byte("ftypavif")) == 4 {
ct = AvifMimeType