Fixed: Trimming slashes from UrlBase when using environment variable
This commit is contained in:
parent
627b2a4289
commit
96f789472e
|
@ -242,7 +242,7 @@ namespace NzbDrone.Core.Configuration
|
|||
{
|
||||
get
|
||||
{
|
||||
var urlBase = _serverOptions.UrlBase ?? GetValue("UrlBase", "").Trim('/');
|
||||
var urlBase = (_serverOptions.UrlBase ?? GetValue("UrlBase", "")).Trim('/');
|
||||
|
||||
if (urlBase.IsNullOrWhiteSpace())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue