Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/src/commit/07073be73c55deb43cd44ef7c8caf5fa574605e8/NzbDrone.Api/Extensions/CacheHeaderPipeline.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
using Nancy;
|
|
|
|
namespace NzbDrone.Api.Extensions
|
|
{
|
|
public static class CacheHeaderPipeline
|
|
{
|
|
public static void Handle(NancyContext context)
|
|
{
|
|
if (context.Response.ContentType.Contains("json"))
|
|
{
|
|
context.Response.Headers.DisableCache();
|
|
|
|
}
|
|
}
|
|
}
|
|
} |