1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-25 22:37:27 -04:00

Added cache breaking based on hash rather than version

This commit is contained in:
kayone
2014-08-31 00:40:23 -07:00
parent dbcabd6df6
commit c4e8e3ebc7
15 changed files with 90 additions and 31 deletions
@@ -19,7 +19,7 @@ namespace NzbDrone.Api.Frontend
return false;
}
if (context.Request.Query.v == BuildInfo.Version) return true;
if (((DynamicDictionary)context.Request.Query).ContainsKey("h")) return true;
if (context.Request.Path.StartsWith("/api", StringComparison.CurrentCultureIgnoreCase))
{