mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Verify disk scan won't scan if root folder doesn't exist
This commit is contained in:
parent
638c149b62
commit
08b2e293d3
4 changed files with 48 additions and 5 deletions
|
@ -168,9 +168,9 @@ namespace NzbDrone.Core.Configuration
|
|||
{
|
||||
get
|
||||
{
|
||||
var urlBase = GetValue("UrlBase", "");
|
||||
var urlBase = GetValue("UrlBase", "").Trim('/');
|
||||
|
||||
if (String.IsNullOrEmpty(urlBase))
|
||||
if (urlBase.IsNullOrWhiteSpace())
|
||||
{
|
||||
return urlBase;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue