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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user