Fixed up StaticResourceProvider

This commit is contained in:
Mark McDowall
2013-05-17 18:18:02 -07:00
parent 92d913e4ac
commit 1edb1d211b
4 changed files with 33 additions and 44 deletions

View File

@@ -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");
}
}
}