mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Fixed up StaticResourceProvider
This commit is contained in:
parent
92d913e4ac
commit
1edb1d211b
4 changed files with 33 additions and 44 deletions
|
@ -20,6 +20,9 @@ namespace NzbDrone.Api.Frontend
|
|||
return Path.Combine(_environmentProvider.GetAppDataPath(), path);
|
||||
}
|
||||
|
||||
public RequestType IHandle { get { return RequestType.MediaCovers; } }
|
||||
public bool CanHandle(string resourceUrl)
|
||||
{
|
||||
return resourceUrl.StartsWith("/mediacover");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue