mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
try to forcefully prevent compatibility view
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user