Fix mime.go code
This commit is contained in:
parent
5b21ad7058
commit
ac8faf355a
@ -586,7 +586,6 @@ var types = map[string]string{
|
|||||||
".onepkg": "application/onenote",
|
".onepkg": "application/onenote",
|
||||||
".xpi": "application/x-xpinstall",
|
".xpi": "application/x-xpinstall",
|
||||||
".wasm": "application/wasm",
|
".wasm": "application/wasm",
|
||||||
//---
|
|
||||||
".m4a": "audio/mp4",
|
".m4a": "audio/mp4",
|
||||||
".flac": "audio/x-flac",
|
".flac": "audio/x-flac",
|
||||||
".amr": "audio/amr",
|
".amr": "audio/amr",
|
||||||
@ -600,6 +599,7 @@ var types = map[string]string{
|
|||||||
".webp": "image/webp",
|
".webp": "image/webp",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//nolint:gochecknoinits
|
||||||
func init() {
|
func init() {
|
||||||
for ext, typ := range types {
|
for ext, typ := range types {
|
||||||
// skip errors
|
// skip errors
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user