mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04: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";
|
return "text/plain";
|
||||||
}
|
}
|
||||||
|
if (StringHelper.EqualsIgnoreCase(ext, ".log"))
|
||||||
|
{
|
||||||
|
return "text/plain";
|
||||||
|
}
|
||||||
if (StringHelper.EqualsIgnoreCase(ext, ".xml"))
|
if (StringHelper.EqualsIgnoreCase(ext, ".xml"))
|
||||||
{
|
{
|
||||||
return "application/xml";
|
return "application/xml";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user