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

@@ -6,6 +6,6 @@ namespace Prowlarr.Http.Frontend.Mappers
{
string Map(string resourceUrl);
bool CanHandle(string resourceUrl);
IActionResult GetResponse(string resourceUrl);
FileStreamResult GetResponse(string resourceUrl);
}
}

View File

@@ -28,7 +28,7 @@ namespace Prowlarr.Http.Frontend.Mappers
public abstract bool CanHandle(string resourceUrl);
public virtual IActionResult GetResponse(string resourceUrl)
public FileStreamResult GetResponse(string resourceUrl)
{
var filePath = Map(resourceUrl);