mirror of https://github.com/jellyfin/jellyfin.git
Merge pull request #9454 from Bond-009/webp
Allow webp for local images
This commit is contained in:
commit
ddadacf137
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue