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

Don't use EnvironmentProvider.IsProduction for services.

pull/6/head
Mark McDowall 13 years ago
parent 14b6036b2f
commit 9dfca378b1

@ -14,7 +14,7 @@ namespace NzbDrone.Web.Helpers
static HtmlIncludeExtentions()
{
versionString = new EnviromentProvider().Version.ToString().Replace('.', '_');
isProduction = EnviromentProvider.IsProduction;
isProduction = true;
}
public static MvcHtmlString IncludeScript(this HtmlHelper helper, string filename)

@ -14,10 +14,6 @@
ViewBag.Title = String.Format("{0} - NzbDrone", ViewBag.Title);
}
<title>@ViewBag.Title</title>
@if (!EnviromentProvider.IsProduction)
{
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
}
@RenderSection("HeaderContent", required: false)
}
<div id="centered">

Loading…
Cancel
Save