Use IsProduction instead of IsDebug to toggle caching on/off

pull/2/head
Keivan Beigi 9 years ago
parent 9b16e3b538
commit 0789ace879

@ -14,7 +14,7 @@ namespace NzbDrone.Api.Frontend
{
public bool IsCacheable(NancyContext context)
{
if (BuildInfo.IsDebug)
if (!RuntimeInfoBase.IsProduction)
{
return false;
}

Loading…
Cancel
Save