Sync static resource mapper with upstream

This commit is contained in:
Bogdan
2026-03-30 12:36:37 +03:00
committed by retrodadson
parent 9907342055
commit 6fca0d0b6c
3 changed files with 5 additions and 5 deletions
@@ -58,7 +58,7 @@ namespace Prowlarr.Http.Frontend
if (result != null)
{
if (result.ContentType == "text/html")
if ((result as FileResult)?.ContentType == "text/html")
{
Response.Headers.DisableCache();
}