mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 03:38:26 -07:00
Fix: Don't handle content requests in IndexHtmlMapper
This commit is contained in:
parent
2ccc5af8d0
commit
8f98fb6c4e
2 changed files with 7 additions and 5 deletions
|
@ -49,9 +49,12 @@ namespace Lidarr.Http.Frontend.Mappers
|
|||
|
||||
public override bool CanHandle(string resourceUrl)
|
||||
{
|
||||
return !resourceUrl.Contains(".") &&
|
||||
!resourceUrl.StartsWith("/login") &&
|
||||
!resourceUrl.StartsWith("/Content");
|
||||
resourceUrl = resourceUrl.ToLowerInvariant();
|
||||
|
||||
return !resourceUrl.StartsWith("/content") &&
|
||||
!resourceUrl.Contains(".") &&
|
||||
!resourceUrl.StartsWith("/login");
|
||||
|
||||
}
|
||||
|
||||
public override Response GetResponse(string resourceUrl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue