2
0
Эх сурвалжийг харах

Allow webp for local images (backport) (#9831)

Bond-009 2 жил өмнө
parent
commit
2b98ce052e

+ 1 - 1
MediaBrowser.Controller/Entities/BaseItem.cs

@@ -47,7 +47,7 @@ namespace MediaBrowser.Controller.Entities
         /// The supported image extensions.
         /// The supported image extensions.
         /// </summary>
         /// </summary>
         public static readonly string[] SupportedImageExtensions
         public static readonly string[] SupportedImageExtensions
-            = new[] { ".png", ".jpg", ".jpeg", ".tbn", ".gif" };
+            = new[] { ".png", ".jpg", ".jpeg", ".webp", ".tbn", ".gif" };
 
 
         private static readonly List<string> _supportedExtensions = new List<string>(SupportedImageExtensions)
         private static readonly List<string> _supportedExtensions = new List<string>(SupportedImageExtensions)
         {
         {