1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 01:27:00 +00: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;
} }