mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Posters/Banners/Fanart served from App_Data
This commit is contained in:
parent
16e00d77ca
commit
16e13e0c24
7 changed files with 72 additions and 28 deletions
|
@ -2,11 +2,6 @@ using System.IO;
|
|||
|
||||
namespace NzbDrone.Api.Frontend
|
||||
{
|
||||
public interface IMapHttpRequestsToDisk
|
||||
{
|
||||
string Map(string resourceUrl);
|
||||
}
|
||||
|
||||
public class StaticResourceMapper : IMapHttpRequestsToDisk
|
||||
{
|
||||
public string Map(string resourceUrl)
|
||||
|
@ -17,5 +12,7 @@ namespace NzbDrone.Api.Frontend
|
|||
|
||||
return Path.Combine("ui", path);
|
||||
}
|
||||
|
||||
public RequestType IHandle { get { return RequestType.StaticResources; } }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue