-node => -ansii-to-html
This commit is contained in:
parent
4038c96773
commit
c2486fd19a
6 changed files with 4 additions and 16 deletions
|
|
@ -45,7 +45,7 @@ namespace Yavsc.Controllers
|
|||
var accept = Request.Headers["Accept"];
|
||||
if (accept.Any(v => v.Split(',').Contains("text/html")))
|
||||
{
|
||||
return File(AnsiToHtmlEncoder.GetStream(stream),"text/html");
|
||||
return File(AnsiToHtmlEncoder.GetStream(stream), "text/html");
|
||||
}
|
||||
return File(stream,"text/text");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue