1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

Improve HTTP file mappers

This commit is contained in:
Mark McDowall
2026-02-24 20:13:55 -08:00
parent 028d2414e7
commit f30207c3d1
16 changed files with 94 additions and 33 deletions
@@ -20,9 +20,9 @@ namespace Sonarr.Http.Frontend.Mappers
_urlBase = configFileProvider.UrlBase;
}
protected string FilePath;
protected abstract string FilePath { get; }
public override string Map(string resourceUrl)
protected override string MapPath(string resourceUrl)
{
return FilePath;
}