Skip to content

Commit 3b261f8

Browse files
authored
Add avif MIME type (#60790)
1 parent bd7a372 commit 3b261f8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Components/WebView/WebView/src/FileExtensionContentTypeProvider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public FileExtensionContentTypeProvider()
5858
{ ".atom", "application/atom+xml" },
5959
{ ".au", "audio/basic" },
6060
{ ".avi", "video/x-msvideo" },
61+
{ ".avif", "image/avif" },
6162
{ ".axs", "application/olescript" },
6263
{ ".bas", "text/plain" },
6364
{ ".bcpio", "application/x-bcpio" },

src/Middleware/StaticFiles/src/FileExtensionContentTypeProvider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public FileExtensionContentTypeProvider()
5252
{ ".atom", "application/atom+xml" },
5353
{ ".au", "audio/basic" },
5454
{ ".avi", "video/x-msvideo" },
55+
{ ".avif", "image/avif" },
5556
{ ".axs", "application/olescript" },
5657
{ ".bas", "text/plain" },
5758
{ ".bcpio", "application/x-bcpio" },

0 commit comments

Comments
 (0)