mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
static resource URLs are now case sensitive.
This commit is contained in:
parent
e89a35522e
commit
478caf15f8
16 changed files with 127 additions and 84 deletions
|
@ -32,10 +32,10 @@ namespace NzbDrone.Api.Frontend
|
|||
public string Map(string resourceUrl)
|
||||
{
|
||||
var path = resourceUrl.Replace('/', Path.DirectorySeparatorChar);
|
||||
path = path.Trim(Path.DirectorySeparatorChar).ToLower();
|
||||
path = path.Trim(Path.DirectorySeparatorChar);
|
||||
|
||||
|
||||
return Path.Combine(_appFolderInfo.StartUpFolder, "ui", path);
|
||||
return Path.Combine(_appFolderInfo.StartUpFolder, "UI", path);
|
||||
}
|
||||
|
||||
public bool CanHandle(string resourceUrl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue