Fixed: UI not updating on upgrade

This commit is contained in:
ta264
2021-04-20 21:15:49 +01:00
parent 490f6e2e6a
commit d566c1efd4
8 changed files with 47 additions and 25 deletions

View File

@@ -186,6 +186,7 @@ namespace Prowlarr.Http.Extensions
public static void DisableCache(this IHeaderDictionary headers)
{
headers.Remove("Last-Modified");
headers["Cache-Control"] = "no-cache, no-store";
headers["Expires"] = "-1";
headers["Pragma"] = "no-cache";