Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/50b01d8d00be3daa6cc840e76d7da5560d45d82b You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: Case insensitive paths for static resources under Windows

Fixes 
pull/2172/head
Mark McDowall 8 years ago
parent 9c1d275403
commit 50b01d8d00
No known key found for this signature in database
GPG Key ID: D4CEFA9A718052E0

@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using NLog;
using Nancy;
@ -21,10 +21,7 @@ namespace NzbDrone.Api.Frontend.Mappers
_diskProvider = diskProvider;
_logger = logger;
if (!RuntimeInfo.IsProduction)
{
_caseSensitive = StringComparison.OrdinalIgnoreCase;
}
_caseSensitive = RuntimeInfo.IsProduction ? DiskProviderBase.PathStringComparison : StringComparison.OrdinalIgnoreCase;
}
public abstract string Map(string resourceUrl);
@ -50,6 +47,5 @@ namespace NzbDrone.Api.Frontend.Mappers
{
return File.OpenRead(filePath);
}
}
}
}

Loading…
Cancel
Save