mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 04:59:35 -07:00
Use IsProduction instead of IsDebug to toggle caching on/off
This commit is contained in:
parent
9b16e3b538
commit
0789ace879
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue