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.
pull/1154/head
Sparky 6 years ago
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…
Cancel
Save