Merge pull request #487 from sparky8251/fix-logs

Support `*.log` files in browser log viewer
This commit is contained in:
Joshua M. Boniface 2019-01-07 11:22:28 -05:00 committed by GitHub
commit 483e74ec8f

View File

@ -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";