mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 19:43:09 +00:00
try to forcefully prevent compatibility view
This commit is contained in:
parent
ec3caf5865
commit
f775f7c1fa
2 changed files with 4 additions and 1 deletions
|
|
@ -181,6 +181,9 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
|||
/// <param name="dto">The dto.</param>
|
||||
private void FilterResponse(IHttpRequest req, IHttpResponse res, object dto)
|
||||
{
|
||||
// Try to prevent compatibility view
|
||||
res.AddHeader("X-UA-Compatible", "IE=Edge");
|
||||
|
||||
var exception = dto as Exception;
|
||||
|
||||
if (exception != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue