1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-19 07:52:33 +02:00

Disable cache in debug

This commit is contained in:
Mark McDowall 2013-07-01 10:28:42 -07:00
parent 41f99dd793
commit eedccf03b6

View File

@ -54,6 +54,11 @@ public Response ProcessStaticResourceRequest(NancyContext context, string workin
response.Headers.EnableCache(); response.Headers.EnableCache();
} }
else
{
response.Headers.DisableCache();
}
return response; return response;
} }