mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-07 01:04:54 +00: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)
|
||||
{
|
||||
if (BuildInfo.IsDebug)
|
||||
if (!RuntimeInfoBase.IsProduction)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user