Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/cdb195a44f4e7d3f0b3d93bbd18abbe57f9d1738 You should set ROOT_URL correctly, otherwise the web may not work correctly.

added IE=edge header to IndexHtml

pull/3113/head
Keivan Beigi 12 years ago
parent fa993109fc
commit cdb195a44f

@ -1,4 +1,5 @@
using System.IO;
using Nancy;
using NLog;
using NzbDrone.Common;
using NzbDrone.Common.EnvironmentInfo;
@ -27,6 +28,14 @@ namespace NzbDrone.Api.Frontend.Mappers
return !resourceUrl.Contains(".");
}
public override Response GetResponse(string resourceUrl)
{
var response = base.GetResponse(resourceUrl);
response.Headers["X-UA-Compatible"] = "IE=edge";
return response;
}
protected override Stream GetContentStream(string filePath)
{
return StringToStream(GetIndexText());

@ -33,7 +33,7 @@ namespace NzbDrone.Api.Frontend.Mappers
public abstract bool CanHandle(string resourceUrl);
public Response GetResponse(string resourceUrl)
public virtual Response GetResponse(string resourceUrl)
{
var filePath = Map(resourceUrl);

Loading…
Cancel
Save