mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Fix some warnings
This commit is contained in:
@@ -191,7 +191,7 @@ namespace MediaBrowser.Model.Net
|
||||
// Catch-all for all video types that don't require specific mime types
|
||||
if (_videoFileExtensions.Contains(ext))
|
||||
{
|
||||
return "video/" + ext.Substring(1);
|
||||
return string.Concat("video/", ext.AsSpan(1));
|
||||
}
|
||||
|
||||
// Type text
|
||||
|
||||
Reference in New Issue
Block a user