Open log files in browser again
Fixes #485 Looks like we regressed and now only the .txt logs would open in the browser when clicked. Added in MimeType handler for .log files. Problem solved.
This commit is contained in:
parent
c986340c02
commit
1f5b9a04fb
|
@ -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