mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-21 21:20:39 +02:00
Merge pull request #487 from sparky8251/fix-logs
Support `*.log` files in browser log viewer
This commit is contained in:
commit
483e74ec8f
|
@ -183,6 +183,10 @@ namespace MediaBrowser.Model.Net
|
|||
{
|
||||
return "text/plain";
|
||||
}
|
||||
if (StringHelper.EqualsIgnoreCase(ext, ".log"))
|
||||
{
|
||||
return "text/plain";
|
||||
}
|
||||
if (StringHelper.EqualsIgnoreCase(ext, ".xml"))
|
||||
{
|
||||
return "application/xml";
|
||||
|
|
Loading…
Reference in a new issue