Detect icon type

main
Bob Mottram 2021-12-16 23:47:01 +00:00
parent 6da17599ca
commit 5b4a3caa4a
1 changed files with 1 additions and 0 deletions

View File

@ -2482,6 +2482,7 @@ def mediaFileMimeType(filename: str) -> str:
'svg': 'image/svg+xml',
'webp': 'image/webp',
'avif': 'image/avif',
'ico': 'image/x-icon',
'mp3': 'audio/mpeg',
'ogg': 'audio/ogg',
'flac': 'audio/flac',