mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-18 21:55:12 -04:00
Use IsProduction instead of IsDebug to toggle caching on/off
This commit is contained in:
@@ -14,7 +14,7 @@ namespace NzbDrone.Api.Frontend
|
|||||||
{
|
{
|
||||||
public bool IsCacheable(NancyContext context)
|
public bool IsCacheable(NancyContext context)
|
||||||
{
|
{
|
||||||
if (BuildInfo.IsDebug)
|
if (!RuntimeInfoBase.IsProduction)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user