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 New Issue
Block a user